Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4027217pxb; Mon, 4 Oct 2021 15:34:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4SDhuOh4AU+yOqkQvKKwtefU1z2A91O8pVuhypy11PP7HTrn6N+3wtzM2FoCfE9MTGGXm X-Received: by 2002:a05:6402:27c7:: with SMTP id c7mr21624517ede.351.1633386846939; Mon, 04 Oct 2021 15:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633386846; cv=none; d=google.com; s=arc-20160816; b=KzKU8tjIUF9eyyHQmxTOgHst7l/H2bddHArvqL231xUSd7GKPAFrBdU1SBWQIQa+qO NR/h5oLnrSFg39i2FaAcgrqxSjVza3KChBAxLHtI2Ngi3xvtHnlSzFY3jMIcrFpBGnp/ G5js6uPJjoSu+mO3fo872p1dtfBK4XeCYTC042nbRZYZNt0xS7BA2MTED6CZWGEn46y9 ZJF8p7J32+yA8ckmwsaWcbPPfZ7OZ8v4vvY4AYEEnBtybhJd6OoDGKKKmoPoCZXVn3W3 9KSWjwSqt7vQ78Hbh4e4F/IciI88BpHZoPF5ju8MdFdMjQihZ10+/Ky7OBEX4aOuAuIa swNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uR9/JpRGdqWxtomN3qJ2Ipc4Ar2OEE4+6BQlZevD6cI=; b=rwj2LhddPShbed74ucvTCvufDx+V7b9u6HIF4ByH8dlw+0aff7cO6HrkL+4bV/sWPZ rM98UqgQM5Eukth22P1XINTVxMrMWuM14bhCZgrzFDgatDEeiIjuc9iL0ggRCRGy0r8M WbDX5CV0arq7eRiouDwM047nL9qXMleQ+S/ufQazcWKXvVLB5LhY24bKzri3khDDD+KD NYHU+mvOOBlecwu8Pv32yoEOdV/SVHrx4JRAZRSmDdE3yIZimtCdPGqB9ZV9XQoP5xDo VjcW3QbLQnIelvyY3KTtBSSB0loSNJCRk8pSkxAgnr5Z3i5BzzWON8mbybxwlpPxl5g9 87XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=JPFCk1ms; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a10si19860572ejf.122.2021.10.04.15.33.43; Mon, 04 Oct 2021 15:34:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=JPFCk1ms; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236723AbhJDQUW (ORCPT + 99 others); Mon, 4 Oct 2021 12:20:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236610AbhJDQUT (ORCPT ); Mon, 4 Oct 2021 12:20:19 -0400 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A69EC061746 for ; Mon, 4 Oct 2021 09:18:30 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id s64so35895448yba.11 for ; Mon, 04 Oct 2021 09:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=uR9/JpRGdqWxtomN3qJ2Ipc4Ar2OEE4+6BQlZevD6cI=; b=JPFCk1ms6o/7kBQKccm81o4ZgoK6OdkO/g95p0M7G1liiYB+paeEDQrq4k5Dg60Nob MBxfY6JlKFtdcuaCpXd5rw93a9jsxpwPcqxWPPH8pGSLfEqEYjYEw+LEzyXPpTwKuJRY juQfFoljra122sFUwvdtP2H910qu0+G8J/EK3aZl1QTFOeeVo2+abF4VL+1E55Tx/0Pc NJFCcT4Km4XWZDtAQgnZMRqthxXH05Risz08/4Cx73OeAEjOhWgBUBK7vgUx+WyzCi6x Q4uzFHioQYzr3P321Uko6BfQCKaSGzv669YWPpDqrM0MBx5XzdViRDbUdAQDQkSe+nTJ 9muA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=uR9/JpRGdqWxtomN3qJ2Ipc4Ar2OEE4+6BQlZevD6cI=; b=pdQuZEbSVLmu2+afLgQpDV95MPp0aLo3Yx5x/Vq+ai6AMdkcAErHvrOV9CU8JU3ABt fMAhK6EhS5qe8WEWumcm+gxrQektMn2YDPQ9uxAwXuLNm2MSFgBK2bb9gKacPTrZUaZK Fd4T9MOYtrK4nCgyE7y7oHvry5TVuUL0LjyrdawH7hq0lrHC0Xf8STXX5Rt/pYn/1BSN 55vRioUofAu3kJpSR7nrKbddAVs9BfT0GpPD/JGUVl+IdI+OTbOvIjCRtT5e2uF6jB1i F8nnSNWZSvvyIBvVLqWkArjxn3l+lLC24vqw09fwzu7xTVIEaJ1bb5vbL3gj5zDyzWAd ZFzA== X-Gm-Message-State: AOAM530uNnr/K4GWtfAZ+nfa7IW9VADUpuo2SSCvNiUZg/jCZ+8ZA1ke gyvf4VX1DWhCpBDmkWiT9nrOoV9l6nb06y1mcGeUcQ== X-Received: by 2002:a25:552:: with SMTP id 79mr15759580ybf.202.1633364309278; Mon, 04 Oct 2021 09:18:29 -0700 (PDT) MIME-Version: 1.0 References: <20211001205657.815551-1-surenb@google.com> <5358242.RVGM2oBbkg@devpool47> In-Reply-To: <5358242.RVGM2oBbkg@devpool47> From: Suren Baghdasaryan Date: Mon, 4 Oct 2021 09:18:18 -0700 Message-ID: Subject: Re: [PATCH v10 1/3] mm: rearrange madvise code to allow for reuse To: Rolf Eike Beer Cc: Andrew Morton , Colin Cross , Sumit Semwal , Michal Hocko , Dave Hansen , Kees Cook , Matthew Wilcox , "Kirill A . Shutemov" , Vlastimil Babka , Johannes Weiner , Jonathan Corbet , Al Viro , Randy Dunlap , Kalesh Singh , Peter Xu , rppt@kernel.org, Peter Zijlstra , Catalin Marinas , vincenzo.frascino@arm.com, =?UTF-8?B?Q2hpbndlbiBDaGFuZyAo5by16Yym5paHKQ==?= , Axel Rasmussen , Andrea Arcangeli , Jann Horn , apopple@nvidia.com, John Hubbard , Yu Zhao , Will Deacon , fenghua.yu@intel.com, thunder.leizhen@huawei.com, Hugh Dickins , feng.tang@intel.com, Jason Gunthorpe , Roman Gushchin , Thomas Gleixner , krisman@collabora.com, chris.hyser@oracle.com, Peter Collingbourne , "Eric W. Biederman" , Jens Axboe , legion@kernel.org, Cyrill Gorcunov , Pavel Machek , Muchun Song , Viresh Kumar , Thomas Cedeno , sashal@kernel.org, cxfcosmos@gmail.com, LKML , linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm , kernel-team , Pekka Enberg , Ingo Molnar , Oleg Nesterov , Jan Glauber , John Stultz , Rob Landley , Cyrill Gorcunov , "Serge E. Hallyn" , David Rientjes , Mel Gorman , Shaohua Li , Minchan Kim , Rasmus Villemoes Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 4, 2021 at 12:03 AM Rolf Eike Beer wrote: > > > --- a/mm/madvise.c > > +++ b/mm/madvise.c > > @@ -63,76 +63,20 @@ static int madvise_need_mmap_write(int behavior) > > } > > > > /* > > - * We can potentially split a vm area into separate > > - * areas, each area with its own behavior. > > + * Update the vm_flags on regiion of a vma, splitting it or merging it= as > ^^ Thanks! Will fix in the next version. > > Eike > -- > Rolf Eike Beer, emlix GmbH, http://www.emlix.com > Fon +49 551 30664-0, Fax +49 551 30664-11 > Gothaer Platz 3, 37083 G=C3=B6ttingen, Germany > Sitz der Gesellschaft: G=C3=B6ttingen, Amtsgericht G=C3=B6ttingen HR B 31= 60 > Gesch=C3=A4ftsf=C3=BChrung: Heike Jordan, Dr. Uwe Kracke =E2=80=93 Ust-Id= Nr.: DE 205 198 055 > > emlix - smart embedded open source > > -- > To unsubscribe from this group and stop receiving emails from it, send an= email to kernel-team+unsubscribe@android.com.