From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f71.google.com (mail-pg0-f71.google.com [74.125.83.71]) by kanga.kvack.org (Postfix) with ESMTP id 3034F6B0260 for ; Tue, 17 Jan 2017 15:31:45 -0500 (EST) Received: by mail-pg0-f71.google.com with SMTP id 204so69425952pge.5 for ; Tue, 17 Jan 2017 12:31:45 -0800 (PST) Received: from mga01.intel.com (mga01.intel.com. [192.55.52.88]) by mx.google.com with ESMTPS id h91si18552574pld.68.2017.01.17.12.31.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jan 2017 12:31:44 -0800 (PST) From: "Chen, Tim C" Subject: RE: [Update][PATCH v5 7/9] mm/swap: Add cache for swap slots allocation Date: Tue, 17 Jan 2017 20:31:27 +0000 Message-ID: <045D8A5597B93E4EBEDDCBF1FC15F50935C9FB53@fmsmsx104.amr.corp.intel.com> References: <35de301a4eaa8daa2977de6e987f2c154385eb66.1484082593.git.tim.c.chen@linux.intel.com> <87tw8ymm2z.fsf_-_@yhuang-dev.intel.com> <20170117101631.GG19699@dhcp22.suse.cz> <045D8A5597B93E4EBEDDCBF1FC15F50935C9F523@fmsmsx104.amr.corp.intel.com> <20170117200338.GA26217@dhcp22.suse.cz> In-Reply-To: <20170117200338.GA26217@dhcp22.suse.cz> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: "Huang, Ying" , Andrew Morton , "Hansen, Dave" , "ak@linux.intel.com" , "Lu, Aaron" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Hugh Dickins , Shaohua Li , Minchan Kim , Rik van Riel , Andrea Arcangeli , "Kirill A . Shutemov" , Vladimir Davydov , Johannes Weiner , Hillf Danton , Christian Borntraeger , Jonathan Corbet > > > > > > > The cache->slots_ret is protected by cache->free_lock and > > cache->slots is protected by cache->free_lock. Typo. cache->slots is protected by cache->alloc_lock. Tim -- 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