Re: + include-linux-mmh-move-nr_free_buffer_pages-from-swaph-to-mmh.patch added to -mm tree

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

 



On Sun, Sep 19, 2021 at 03:38:50PM -0700, Andrew Morton wrote:
> > i don't think that moving more crap into mm.h is an improvement.
> > if anything, we should be moving more things out of mm.h.
> 
> nr_free_buffer_pages() is part of the page allocation API and gfp.h
> seems a more appropriate place for its declaration.
> 
> I expect this would also permit a reduction in the #include sprawl?

It must ... mm.h includes gfp.h, so everything else about this patchset
should continue to work.  Maybe we could even remove mm.h from some files.



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux