linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Export __vmalloc_node symbol
@ 2015-02-02  3:10 green
  2015-02-02  3:10 ` [PATCH 1/2] mm: Export __vmalloc_node green
  2015-02-02  3:10 ` [PATCH 2/2] staging/lustre: use __vmalloc_node() to avoid __GFP_FS default green
  0 siblings, 2 replies; 7+ messages in thread
From: green @ 2015-02-02  3:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, Oleg Drokin

From: Oleg Drokin <green@linuxhacker.ru>

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(-)

-- 
2.1.0

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-02 23:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02  3:10 [PATCH 0/2] Export __vmalloc_node symbol green
2015-02-02  3:10 ` [PATCH 1/2] mm: Export __vmalloc_node green
2015-02-02 17:45   ` David Rientjes
2015-02-02 20:31     ` Oleg Drokin
2015-02-02  3:10 ` [PATCH 2/2] staging/lustre: use __vmalloc_node() to avoid __GFP_FS default green
2015-02-02 17:48   ` David Rientjes
2015-02-02 23:26     ` Oleg Drokin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).