Re: use folios and vmalloc for buffer cache backing memory v3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 10 Mar 2025 14:19:03 +0100, Christoph Hellwig wrote:
> this is another spin on converting the XFS buffer cache to use folios and
> generally simplify the memory allocation in it.  It is based on Dave's
> last folio series (which itself had pulled in bits from my earlier
> vmalloc series).
> 
> It converts the backing memory allocation for all large buffers that are
> power of two sized to large folios, converts > PAGE_SIZE but not power of
> two allocations to vmalloc instead of vm_map_ram and generally cleans up
> a lot of code around the memory allocation and reduces the size of the
> xfs_buf structure by removing the embedded pages array and pages pointer.
> 
> [...]

Applied to for-next, thanks!

[01/12] xfs: unmapped buffer item size straddling mismatch
        commit: 69659e46b7588d2fd5e4644dec9e61127bbfd5f3
[02/12] xfs: add a fast path to xfs_buf_zero when b_addr is set
        commit: f2a3717a74c2cf01e29ea3aba355e171eb0d5f5f
[03/12] xfs: remove xfs_buf.b_offset
        commit: 51e10993153adc14e8caf2a13d6defc8403dfb4c
[04/12] xfs: remove xfs_buf_is_vmapped
        commit: 48a325a4eec3251c2ead7ad7dad304bbdc1460a0
[05/12] xfs: refactor backing memory allocations for buffers
        commit: 50a524e0ef9be0e862207fc822ab4b7dcb0c4310
[06/12] xfs: remove the kmalloc to page allocator fallback
        commit: 4ef39828318220f11050984fb8dbc372c9c03960
[07/12] xfs: convert buffer cache to use high order folios
        commit: 94c78cfa3bd1858eec3c462aedeb7f297d38d768
[08/12] xfs: kill XBF_UNMAPPED
        commit: a2f790b28512c22f7cf4f420a99e1b008e7098fe
[09/12] xfs: buffer items don't straddle pages anymore
        commit: fd87851680edcb931b2ec4caf23b4abbea126fc3
[10/12] xfs: use vmalloc instead of vm_map_area for buffer backing memory
        commit: e2874632a6213b4687e53cd7d837c642c805c903
[11/12] xfs: cleanup mapping tmpfs folios into the buffer cache
        commit: e614a00117bc2d46219c66a287ddde0f0a04517c
[12/12] xfs: trace what memory backs a buffer
        commit: 89ce287c83c91f5d222809b82e597426587a862d

Best regards,
-- 
Carlos Maiolino <cem@xxxxxxxxxx>





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux