aboutsummaryrefslogtreecommitdiff
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2023-01-26 13:51:23 -0800
committerAndrew Morton <akpm@linux-foundation.org>2023-04-05 19:42:40 -0700
commit9d062a8a4c6d5e6d1591cde41ac844d11f953ad8 (patch)
tree59cab47fe1bfbf79c4e27c481d1e1335bfae2774 /mm/filemap.c
parent887aef615818dba18333be6f08de1922a475a15b (diff)
downloadlinux-9d062a8a4c6d5e6d1591cde41ac844d11f953ad8.tar.gz
linux-9d062a8a4c6d5e6d1591cde41ac844d11f953ad8.tar.bz2
linux-9d062a8a4c6d5e6d1591cde41ac844d11f953ad8.zip
dmapool: don't memset on free twice
If debug is enabled, dmapool will poison the range, so no need to clear it to 0 immediately before writing over it. Link: https://lkml.kernel.org/r/20230126215125.4069751-11-kbusch@meta.com Signed-off-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Matthew Wilcox <willy@infradead.org> Cc: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions