[PATCH 3.16 102/129] mm: fix potential data race in SyS_swapon

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 6f179af88f60b32c2855e7f3e16ea8e336a7043f upstream. While running KernelThreadSanitizer (ktsan) on upstream kernel with trinity, we got a few reports from SyS_swapon, here i

[PATCH] mm: fix potential data race in SyS_swapon

2015-08-17 Thread Hugh Dickins
While running KernelThreadSanitizer (ktsan) on upstream kernel with trinity, we got a few reports from SyS_swapon, here is one of them: Read of size 8 by thread T307 (K7621): [< inlined>] SyS_swapon+0x3c0/0x1850 SYSC_swapon mm/swapfile.c:2395 [] SyS_swapon+0x3c0/0x1850 mm/swapfile.c:2345

Re: Potential data race in SyS_swapon

2015-08-17 Thread Hugh Dickins
On Fri, 7 Aug 2015, Andrey Konovalov wrote: > > We are working on a dynamic data race detector for the Linux kernel > called KernelThreadSanitizer (ktsan) > (https://github.com/google/ktsan/wiki). > > While running ktsan on the upstream revision 21bdb584af8c with trinity > we got a few reports fr

Re: Potential data race in SyS_swapon

2015-08-07 Thread Cesar Eduardo Barros
Em 07-08-2015 13:14, Andrey Konovalov escreveu: Hi! We are working on a dynamic data race detector for the Linux kernel called KernelThreadSanitizer (ktsan) (https://github.com/google/ktsan/wiki). While running ktsan on the upstream revision 21bdb584af8c with trinity we got a few reports from S

Potential data race in SyS_swapon

2015-08-07 Thread Andrey Konovalov
Hi! We are working on a dynamic data race detector for the Linux kernel called KernelThreadSanitizer (ktsan) (https://github.com/google/ktsan/wiki). While running ktsan on the upstream revision 21bdb584af8c with trinity we got a few reports from SyS_swapon, here is one of them: =