lkml.org 
[lkml]   [2014]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: pte_present check on hugetlb_entry fix for 3.15?
From
On Fri, Jun 6, 2014 at 10:36 AM, Josh Boyer <jwboyer@fedoraproject.org> wrote:
>
> I poked Linus about this
> early today privately (my fault, apologies) and he had some
> questions/comments on the code.

I changed it a bit (made the patch smaller by removing the now stale
"pte_none()" check) and added a comment about the apparent bogosity of
the generic page table walker to the commit message, but it's
basically applied to the current 3.15 git tree.

If some architecture really has a "pte_present()" function that
requires you to check "pte_none()" first, that architecture is
completely broken and would need to be fixed. I don't think that
exists, though.

Linus


\
 
 \ /
  Last update: 2014-06-06 22:41    [W:0.049 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site