Skip to content

Export __vmalloc_node symbol

[email protected] linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: Export __vmalloc_nodeinclude/linux/vmalloc.h mm/vmalloc.c+7 -62 replies
2/2staging/lustre: use __vmalloc_node() to avoid __GFP_FS defaultdrivers/staging/lustre/lustre/include/obd_support.h+12 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Export __vmalloc_node symbol

From: Oleg Drokin <[email protected]>

Looking to get rid of a deadlock in Lustre where vmalloc call recurses right back into Lustre to free some memory due to not accepting GFP mask I noticed that while vzalloc is replaceable with __vmalloc just as suggested, vzalloc_node is not. Recommended __vmalloc_node symbol is static to mm/vmalloc.c.
Hopefully nobody has any objections to me exporting it so that vzalloc_node suggestion actually becomes possible.

Second patch in the series is just a Lustre patch to take advantage of that newly exported symbol (as an example of usage).

Please consider.

Bruno Faccini (1):
staging/lustre: use __vmalloc_node() to avoid __GFP_FS default

Oleg Drokin (1):
mm: Export __vmalloc_node

 drivers/staging/lustre/lustre/include/obd_support.h | 18 ++++++++++++------
 include/linux/vmalloc.h                             |  3 +++
 mm/vmalloc.c                                        | 10 ++++------
 3 files changed, 19 insertions(+), 12 deletions(-)
Signature · 7 lines
2.1.0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>