From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751666AbbIXTCN (ORCPT ); Thu, 24 Sep 2015 15:02:13 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:51272 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751468AbbIXTCM (ORCPT ); Thu, 24 Sep 2015 15:02:12 -0400 Message-ID: <5604489F.8070506@oracle.com> Date: Thu, 24 Sep 2015 15:01:51 -0400 From: Sasha Levin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Andrey Ryabinin , Oleg Nesterov CC: Hugh Dickins , "Kirill A. Shutemov" , Andrey Konovalov , Rik van Riel , Andrew Morton , Dmitry Vyukov , "linux-mm@kvack.org" , LKML , Vlastimil Babka Subject: Re: Multiple potential races on vma->vm_flags References: <55EC9221.4040603@oracle.com> <20150907114048.GA5016@node.dhcp.inet.fi> <55F0D5B2.2090205@oracle.com> <20150910083605.GB9526@node.dhcp.inet.fi> <20150911103959.GA7976@node.dhcp.inet.fi> <55F8572D.8010409@oracle.com> <20150924131141.GA7623@redhat.com> <5604247A.7010303@oracle.com> <20150924172609.GA29842@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/24/2015 02:52 PM, Andrey Ryabinin wrote: > Sasha, could you confirm that in your kernel mmu_notifier_mm field has > 0x4c8 offset? > I would use gdb for that: > gdb vmlinux > (gdb) p/x &(((struct mm_struct*)0)->mmu_notifier_mm) (gdb) p/x &(((struct mm_struct*)0)->mmu_notifier_mm) $1 = 0x4c8 Thanks, Sasha