lkml.org 
[lkml]   [2023]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm/rmap: Convert rmap_t into enum rmap_flags
On 14.07.23 08:14, Anshuman Khandual wrote:
> rmap_t tracks bitwise positions for various page reverse map related flags.
> enum could provide more compact representation. This converts these flags
> into an enum listing, without any functional change.
>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
> Cc: Hugh Dickins <hughd@google.com>
> Cc: David Hildenbrand <david@redhat.com>
> Cc: linux-mm@kvack.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
> ---
> This applies on v6.5-rc1

No,

please read Documentation/dev-tools/sparse.rst for "Using sparse for typechecking".

--
Cheers,

David / dhildenb

\
 
 \ /
  Last update: 2023-07-16 20:47    [W:0.070 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site