All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Remove highmem allocations, kmap/kunmap
@ 2021-07-08 11:45 David Sterba
  2021-07-08 11:45 ` [PATCH 1/6] btrfs: drop from __GFP_HIGHMEM all allocations David Sterba
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: David Sterba @ 2021-07-08 11:45 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

The highmem was maybe was a good idea long time ago but with 64bit
architectures everywhere I don't think we need to take it into account.
This does not mean this 32bit won't work, just that it won't try to use
temporary pages in highmem for compression and raid56. The key word is
temporary. Combining a very fast device (like hundreds of megabytes
throughput) and 32bit machine with reasonable memory (for 32bit, like
8G), it could become a problem once low memory is scarce.

David Sterba (6):
  btrfs: drop from __GFP_HIGHMEM all allocations
  btrfs: compression: drop kmap/kunmap from lzo
  btrfs: compression: drop kmap/kunmap from zlib
  btrfs: compression: drop kmap/kunmap from zstd
  btrfs: compression: drop kmap/kunmap from generic helpers
  btrfs: check-integrity: drop kmap/kunmap for block pages

 fs/btrfs/check-integrity.c | 11 +++-------
 fs/btrfs/compression.c     |  6 ++----
 fs/btrfs/inode.c           |  3 +--
 fs/btrfs/lzo.c             | 42 +++++++++++---------------------------
 fs/btrfs/raid56.c          | 10 ++++-----
 fs/btrfs/zlib.c            | 42 +++++++++++++-------------------------
 fs/btrfs/zstd.c            | 33 +++++++++++-------------------
 7 files changed, 49 insertions(+), 98 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-07-10 11:38 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 11:45 [PATCH 0/6] Remove highmem allocations, kmap/kunmap David Sterba
2021-07-08 11:45 ` [PATCH 1/6] btrfs: drop from __GFP_HIGHMEM all allocations David Sterba
2021-07-08 11:45 ` [PATCH 2/6] btrfs: compression: drop kmap/kunmap from lzo David Sterba
2021-07-08 11:45 ` [PATCH 3/6] btrfs: compression: drop kmap/kunmap from zlib David Sterba
2021-07-08 11:45 ` [PATCH 4/6] btrfs: compression: drop kmap/kunmap from zstd David Sterba
2021-07-08 11:45 ` [PATCH 5/6] btrfs: compression: drop kmap/kunmap from generic helpers David Sterba
2021-07-08 11:45 ` [PATCH 6/6] btrfs: check-integrity: drop kmap/kunmap for block pages David Sterba
2021-07-08 12:45 ` [PATCH 0/6] Remove highmem allocations, kmap/kunmap Neal Gompa
2021-07-08 12:49   ` David Sterba
2021-07-08 22:24     ` Neal Gompa
2021-07-08 23:53   ` Qu Wenruo
2021-07-09  6:46     ` Christoph Hellwig
2021-07-09  7:12       ` Qu Wenruo
2021-07-09 12:15         ` Neal Gompa
2021-07-10  9:50           ` Qu Wenruo
2021-07-10 11:15             ` Christoph Hellwig
2021-07-10 11:37               ` Qu Wenruo

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.