> Now that gigantic pages are dynamically allocatable, care must be taken
> to ensure that p->first_page is valid before setting PageTail.
>
> If this isn't done, then it is possible to race and have compound_head()
> return NULL.
>
> Signed-off-by: David Rientjes
> ---
Acked-by: Hillf Danton
On Tue, 2015-02-24 at 16:16 -0800, David Rientjes wrote:
> Now that gigantic pages are dynamically allocatable, care must be taken
> to ensure that p->first_page is valid before setting PageTail.
>
> If this isn't done, then it is possible to race and have compound_head()
> return NULL.
>
> Signe
Now that gigantic pages are dynamically allocatable, care must be taken
to ensure that p->first_page is valid before setting PageTail.
If this isn't done, then it is possible to race and have compound_head()
return NULL.
Signed-off-by: David Rientjes
---
mm/hugetlb.c | 4 +++-
1 file changed, 3
3 matches
Mail list logo