From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) by kanga.kvack.org (Postfix) with ESMTP id 202B66B0253 for ; Tue, 22 Sep 2015 13:59:36 -0400 (EDT) Received: by igcpb10 with SMTP id pb10so104554708igc.1 for ; Tue, 22 Sep 2015 10:59:36 -0700 (PDT) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com. [2607:f8b0:4001:c06::233]) by mx.google.com with ESMTPS id h10si1740828igq.38.2015.09.22.10.59.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Sep 2015 10:59:35 -0700 (PDT) Received: by ioiz6 with SMTP id z6so22267418ioi.2 for ; Tue, 22 Sep 2015 10:59:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1442903021-3893-8-git-send-email-mingo@kernel.org> References: <1442903021-3893-1-git-send-email-mingo@kernel.org> <1442903021-3893-8-git-send-email-mingo@kernel.org> Date: Tue, 22 Sep 2015 10:59:35 -0700 Message-ID: Subject: Re: [PATCH 07/11] x86/mm: Remove pgd_list use from vmalloc_sync_all() From: Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar Cc: Linux Kernel Mailing List , linux-mm , Andy Lutomirski , Andrew Morton , Denys Vlasenko , Brian Gerst , Peter Zijlstra , Borislav Petkov , "H. Peter Anvin" , Oleg Nesterov , Waiman Long , Thomas Gleixner On Mon, Sep 21, 2015 at 11:23 PM, Ingo Molnar wrote: > + > + for_each_process(g) { > + struct task_struct *p; > + struct mm_struct *mm; > + > + p = find_lock_task_mm(g); > + if (!p) > + continue; ... > + task_unlock(p); You know the drill by now.. Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org