Re: [PATCH 06/12] xfs: remove the kmalloc to page allocator fallback

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

 



On Wed, Feb 26, 2025 at 09:22:31AM -0800, Darrick J. Wong wrote:
> > +	if (!IS_ALIGNED((unsigned long)bp->b_addr, size)) {
> > +		ASSERT(IS_ALIGNED((unsigned long)bp->b_addr, size));
> 
> Depending on the level of paranoia about "outside" subsystems, should
> this be a regular xfs_err so we can catch these kinds of things on
> production kernels?

I'll switch to WARN_ON_ONCE.





[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