From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938844AbcIHI43 (ORCPT ); Thu, 8 Sep 2016 04:56:29 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:45219 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754534AbcIHI4R (ORCPT ); Thu, 8 Sep 2016 04:56:17 -0400 X-IBM-Helo: d28dlp02.in.ibm.com X-IBM-MailFrom: khandual@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Date: Thu, 08 Sep 2016 11:19:02 +0530 From: Anshuman Khandual User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Huang, Ying" , Andrew Morton CC: tim.c.chen@intel.com, dave.hansen@intel.com, andi.kleen@intel.com, aaron.lu@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrea Arcangeli , "Kirill A . Shutemov" , Hugh Dickins , Shaohua Li , Minchan Kim , Rik van Riel Subject: Re: [PATCH -v3 04/10] mm, THP, swap: Add swap cluster allocate/free functions References: <1473266769-2155-1-git-send-email-ying.huang@intel.com> <1473266769-2155-5-git-send-email-ying.huang@intel.com> In-Reply-To: <1473266769-2155-5-git-send-email-ying.huang@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16090805-0060-0000-0000-00000127AB85 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16090805-0061-0000-0000-00000F67255C Message-Id: <57D0FBCE.50706@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-09-08_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=2 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1609080084 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/07/2016 10:16 PM, Huang, Ying wrote: > From: Huang Ying > > The swap cluster allocation/free functions are added based on the > existing swap cluster management mechanism for SSD. These functions > don't work for the rotating hard disks because the existing swap cluster > management mechanism doesn't work for them. The hard disks support may > be added if someone really need it. But that needn't be included in > this patchset. > > This will be used for the THP (Transparent Huge Page) swap support. > Where one swap cluster will hold the contents of each THP swapped out. Which tree this series is based against ? This patch does not apply on the mainline kernel today.