Searched hist:fc3a5ac52827960ca1e17ba243ff4ba29fcc057a (Results 1 – 1 of 1) sorted by relevance
/linux/mm/ |
H A D | truncate.c | diff fc3a5ac52827960ca1e17ba243ff4ba29fcc057a Fri Oct 16 05:05:50 CEST 2020 Matthew Wilcox (Oracle) <willy@infradead.org> mm/truncate: fix truncation for pages of arbitrary size
Remove the assumption that a compound page is HPAGE_PMD_SIZE, and the assumption that any page is PAGE_SIZE.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: SeongJae Park <sjpark@amazon.de> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Huang Ying <ying.huang@intel.com> Link: https://lkml.kernel.org/r/20200908195539.25896-10-willy@infradead.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|