All of lore.kernel.org
 help / color / mirror / Atom feed
* [lustre-devel] [PATCH 0/6] cleanup libcfs memory handling
@ 2016-03-31 14:18 ` James Simmons
  0 siblings, 0 replies; 18+ messages in thread
From: James Simmons @ 2016-03-31 14:18 UTC (permalink / raw)
  To: Greg Kroah-Hartman, devel, Andreas Dilger, Oleg Drokin
  Cc: Linux Kernel Mailing List, Lustre Development List, James Simmons

The libcfs module contains memory handling which needs to be
cleaned up. First cleanup is to merge linux-mem.h and libcfs_prim.h.
This is left over for when libcfs was both a kernel module
and a userspace library. Second cleanup is remove some wrappers
that are not needed. Just use kernel API's directly instead.
One last change is the move of add_wait_queue_exclusive_head
to the lustre layer since that is the only place it is used.
With these changes linux-mem.h can be deleted.

James Simmons (6):
  staging: lustre: libcfs: move add_wait_queue_exclusive_head to lustre layer
  staging: lustre: libcfs: move memory_pressure functions to libcfs_prim.h
  staging: lustre: libcfs: remove page_index() macro
  staging: lustre: libcfs: remove MMSPACE macros
  staging: lustre: libcfs: move NUM_CACHEPAGES to libcfs_prim.h
  staging: lustre: libcfs: delete linux-mem.h

 .../lustre/include/linux/libcfs/libcfs_prim.h      |   31 +++++---
 .../lustre/include/linux/libcfs/linux/libcfs.h     |    2 +-
 .../lustre/include/linux/libcfs/linux/linux-cpu.h  |    2 +-
 .../lustre/include/linux/libcfs/linux/linux-mem.h  |   79 --------------------
 .../staging/lustre/lnet/libcfs/linux/linux-prim.c  |   24 ------
 drivers/staging/lustre/lnet/libcfs/tracefile.c     |   17 ++--
 drivers/staging/lustre/lustre/include/lustre_lib.h |   22 ++++++
 drivers/staging/lustre/lustre/llite/vvp_page.c     |    2 +-
 drivers/staging/lustre/lustre/osc/osc_request.c    |    2 +-
 9 files changed, 55 insertions(+), 126 deletions(-)
 delete mode 100644 drivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h

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

end of thread, other threads:[~2016-03-31 20:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31 14:18 [lustre-devel] [PATCH 0/6] cleanup libcfs memory handling James Simmons
2016-03-31 14:18 ` James Simmons
2016-03-31 14:18 ` [lustre-devel] [PATCH 1/6] staging: lustre: libcfs: move add_wait_queue_exclusive_head to lustre layer James Simmons
2016-03-31 14:18   ` James Simmons
2016-03-31 14:18 ` [lustre-devel] [PATCH 2/6] staging: lustre: libcfs: move memory_pressure functions to libcfs_prim.h James Simmons
2016-03-31 14:18   ` James Simmons
2016-03-31 20:03   ` [lustre-devel] " Greg Kroah-Hartman
2016-03-31 20:03     ` Greg Kroah-Hartman
2016-03-31 20:33     ` [lustre-devel] " Simmons, James A.
2016-03-31 20:33       ` Simmons, James A.
2016-03-31 14:18 ` [lustre-devel] [PATCH 3/6] staging: lustre: libcfs: remove page_index() macro James Simmons
2016-03-31 14:18   ` James Simmons
2016-03-31 14:18 ` [lustre-devel] [PATCH 4/6] staging: lustre: libcfs: remove MMSPACE macros James Simmons
2016-03-31 14:18   ` James Simmons
2016-03-31 14:18 ` [lustre-devel] [PATCH 5/6] staging: lustre: libcfs: move NUM_CACHEPAGES to libcfs_prim.h James Simmons
2016-03-31 14:18   ` James Simmons
2016-03-31 14:18 ` [lustre-devel] [PATCH 6/6] staging: lustre: libcfs: delete linux-mem.h James Simmons
2016-03-31 14:18   ` James Simmons

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.