All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL][PATCH 0/3] GFP flags adjustments
@ 2015-12-03 16:51 David Sterba
  2015-12-03 16:51 ` [PATCH 1/3] btrfs: use GFP_KERNEL for allocations in ioctl handlers David Sterba
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Sterba @ 2015-12-03 16:51 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba, clm

Part of the planned memory allocation / error handling updates, a lightweight
start.  We don't need to use GFP_NOFS everywhere, this flag should protect
against looping back to the filesystem in certain allocation contexts. GFP_KERNEL
is safe in functions started eg. from userspace (like the ioctls) or for
mount-time allocations. For 4.5, please pull.

----------------------------------------------------------------
The following changes since commit 1ec218373b8ebda821aec00bb156a9c94fad9cd4:

  Linux 4.4-rc2 (2015-11-22 16:45:59 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git dev/gfp-flags

for you to fetch changes up to 39a27ec1004e886f1d949bdb8f2616896d02c5c2:

  btrfs: use GFP_KERNEL for xattr and acl allocations (2015-12-03 15:03:44 +0100)

----------------------------------------------------------------
David Sterba (3):
      btrfs: use GFP_KERNEL for allocations in ioctl handlers
      btrfs: use GFP_KERNEL for allocations of workqueues
      btrfs: use GFP_KERNEL for xattr and acl allocations

 fs/btrfs/acl.c          |  4 ++--
 fs/btrfs/async-thread.c |  4 ++--
 fs/btrfs/ioctl.c        | 10 +++++-----
 fs/btrfs/xattr.c        |  2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)

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

end of thread, other threads:[~2015-12-03 16:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-03 16:51 [PULL][PATCH 0/3] GFP flags adjustments David Sterba
2015-12-03 16:51 ` [PATCH 1/3] btrfs: use GFP_KERNEL for allocations in ioctl handlers David Sterba
2015-12-03 16:51 ` [PATCH 2/3] btrfs: use GFP_KERNEL for allocations of workqueues David Sterba
2015-12-03 16:51 ` [PATCH 3/3] btrfs: use GFP_KERNEL for xattr and acl allocations David Sterba

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.