Re: [PATCH 11/12] xfs: cleanup mapping tmpfs folios into the buffer cache

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

 



On Wed, Feb 26, 2025 at 09:39:31AM -0800, Darrick J. Wong wrote:
> > +int xmbuf_map_backing_mem(struct xfs_buf *bp);
> 
> Does this actually work if CONFIG_XFS_MEMORY_BUFS=n ?  I guess the
> compiler will see:
> 
> 	if (false)
> 		return xmbuf_map_backing_mem(bp);
> 
> and optimize it out, right?

Exactly.





[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