lkml.org 
[lkml]   [2019]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] cgroup: pids: use {READ,WRITE}_ONCE for pids->limit operations
    On Sat, Oct 12, 2019 at 12:05:39PM +1100, Aleksa Sarai wrote:
    > Because pids->limit can be changed concurrently (but we don't want to
    > take a lock because it would be needlessly expensive), use the
    > appropriate memory barriers.

    I can't quite tell what problem it's fixing. Can you elaborate a
    scenario where the current code would break that your patch fixes?

    Thanks.

    --
    tejun

    \
     
     \ /
      Last update: 2019-10-14 17:42    [W:7.437 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site