mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] minor fd cleanup
@ 2017-10-03 10:58 Mateusz Guzik
  2017-10-03 10:58 ` [PATCH 1/2] vfs: stop clearing close on exec when closing a fd Mateusz Guzik
  2017-10-03 10:58 ` [PATCH 2/2] vfs: grab the lock instead of blocking in __fd_install during resizing Mateusz Guzik
  0 siblings, 2 replies; 9+ messages in thread
From: Mateusz Guzik @ 2017-10-03 10:58 UTC (permalink / raw)
  To: Eric Dumazet, Al Viro; +Cc: mszeredi, linux-fsdevel, linux-kernel

The first patch is a super minor nit and  I'm fine with it being ignored.

Second patch is imho of actual value.

fd_install has an avoidable requirement to be called in a sleepable context.
It matters e.g. in rhel7 to where the patch was recently backported and the
new requirement could not be enforced.

I don't see any benefits from sleeping over locking and not sleeping makes
the function slightly nicer.

Mateusz Guzik (2):
  vfs: stop clearing close on exec when closing a fd
  vfs: grab the lock instead of blocking in __fd_install during resizing

 Documentation/filesystems/porting |  4 ----
 fs/file.c                         | 12 +++++++-----
 2 files changed, 7 insertions(+), 9 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2017-10-04 15:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-03 10:58 [PATCH 0/2] minor fd cleanup Mateusz Guzik
2017-10-03 10:58 ` [PATCH 1/2] vfs: stop clearing close on exec when closing a fd Mateusz Guzik
2017-10-03 14:39   ` Eric Dumazet
2017-10-03 10:58 ` [PATCH 2/2] vfs: grab the lock instead of blocking in __fd_install during resizing Mateusz Guzik
2017-10-03 14:41   ` Eric Dumazet
2017-10-04 13:55     ` Matthew Wilcox
2017-10-04 14:00       ` Eric Dumazet
2017-10-04 14:58         ` Matthew Wilcox
2017-10-04 15:04           ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome