lkml.org 
[lkml]   [2023]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v2 1/6] slub: Keep track of whether slub is on the per-node partial list
On Mon, Oct 23, 2023 at 01:32:27PM +0100, Matthew Wilcox wrote:
> _Assuming_ that it's safe to use the non-atomic flag setting, I'd
> rather see this done as ...
>
> static inline void slab_set_node_partial(struct slab *slab)
> {
> __folio_set_workingset(slab_folio(slab));

Ugh, I meant to delete this line. I meant to just write the next line.

> __set_bit(PG_workingset, folio_flags(slab_folio(slab), 0));
> }

\
 
 \ /
  Last update: 2023-10-23 18:23    [W:0.089 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site