Thread (24 messages) 24 messages, 5 authors, 2021-02-26

Re: [PATCH v6 0/3] mm,thp,shm: limit shmem THP alloc gfp_mask

From: Rik van Riel <riel@surriel.com>
Date: 2021-02-24 15:32:57
Also in: lkml

On Wed, 2021-02-24 at 00:41 -0800, Hugh Dickins wrote:
On Mon, 14 Dec 2020, Vlastimil Babka wrote:
quoted
quoted
(There's also a specific issue with the gfp_mask limiting: I have
not yet reviewed the allowing and denying in detail, but it looks
like it does not respect the caller's GFP_ZONEMASK - the gfp in
shmem_getpage_gfp() and shmem_read_mapping_page_gfp() is there to
satisfy the gma500, which wanted to use shmem but could only
manage
quoted
quoted
DMA32.  I doubt it wants THPS, but shmem_enabled=force forces
them.)

Oh, I'd forgotten all about that gma500 aspect:
well, I can send a fixup later on.
I already have code to fix that, which somebody earlier
in this discussion convinced me to throw away. Want me
to send it as a patch 4/3 ?

-- 
All Rights Reversed.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help