Re: [PATCH 07/32] mm: Bring back vmalloc_exec
From: Kent Overstreet
Date: Tue May 09 2023 - 16:15:33 EST
On Tue, May 09, 2023 at 11:19:38AM -0700, Lorenzo Stoakes wrote:
> On Tue, May 09, 2023 at 12:56:32PM -0400, Kent Overstreet wrote:
> > From: Kent Overstreet <kent.overstreet@xxxxxxxxx>
> > This is needed for bcachefs, which dynamically generates per-btree node
> > unpack functions.
> Small nits -
> Would be good to refer to the original patch that removed it,
> i.e. 7a0e27b2a0ce ("mm: remove vmalloc_exec") something like 'patch
> ... folded vmalloc_exec() into its one user, however bcachefs requires this
> as well so revert'.
> Would also be good to mention that you are now exporting the function which
> the original didn't appear to do.
> > Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>
> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > Cc: Uladzislau Rezki <urezki@xxxxxxxxx>
> > Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>
> > Cc: linux-mm@xxxxxxxxx
> Another nit: I'm a vmalloc reviewer so would be good to get cc'd too :)
> (forgivable mistake as very recent change!)
Thanks - folded your suggestions into the commit message, and added you
for the next posting :)