Message ID | 20190527093842.10701-1-urezki@gmail.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ED70515A6 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 27 May 2019 09:38:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD6D128AA5 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 27 May 2019 09:38:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D113828ACD; Mon, 27 May 2019 09:38:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBA3228AA5 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 27 May 2019 09:38:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EF4FC6B000C; Mon, 27 May 2019 05:38:53 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id E7DF56B0266; Mon, 27 May 2019 05:38:53 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CD0246B026B; Mon, 27 May 2019 05:38:53 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by kanga.kvack.org (Postfix) with ESMTP id 6534A6B000C for <linux-mm@kvack.org>; Mon, 27 May 2019 05:38:53 -0400 (EDT) Received: by mail-lj1-f199.google.com with SMTP id r8so2772579ljg.6 for <linux-mm@kvack.org>; Mon, 27 May 2019 02:38:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id; bh=KJULdVfLsRoB+sGyptDGkaVMQxwt1Boacmd0PqpEDts=; b=e235I+/QmLpJCjUIM76YelvXquopykeYvKQk4bUpaKYFRKversbg53MZv8SEhwCrGi Q54Zr9wXZBBfqH6W65rdCAWpJN4bSU2eJWs4gtsCu9StLg/Pr//BGM2Id1jdDbs9WGMD JayBnUSTV8OdmY2AHoPTfNks45ETLqYDIu41ofcEk2cKMNBBSFJ8ZltieWg7gArukwwL ng03WJwRl1cxS/W6+pDB5yvBwh4fzIT83jPCNLwJQBKt11JvFLpOXKE66pemaffhvNhn 8ymnGQufclEmBxQFmUvV7nUJyrKCE4ZYAUYJIM1IeO2Yia1xNvOSWrCYJpqeKqqhdUTw uFGw== X-Gm-Message-State: APjAAAW4F9DUT1oBxBZCJbT/vFSZtfk1anetPbo6do1HzLaXJa/w7Uu2 HK15rgSMtBIinz+L5VrGpL602eWtIjuEzPfBTO/f2tpXciXOWIAEr0IUfwhJH7GScR2TVpWHi4g 277qv+ZtQBxRJlqihTAry3XSyPkFP41Re3B2+SdsSLKFhKAl1xnmReM6oPrN13WzJtg== X-Received: by 2002:a2e:5dcb:: with SMTP id v72mr61164593lje.54.1558949932475; Mon, 27 May 2019 02:38:52 -0700 (PDT) X-Received: by 2002:a2e:5dcb:: with SMTP id v72mr61164568lje.54.1558949931696; Mon, 27 May 2019 02:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558949931; cv=none; d=google.com; s=arc-20160816; b=SEOfY9YR2Kg3iWNOwrDjUWRBNwa9IJcUlje3JQvW6+MaUqSFRv/GOY3pnohj8iqdtw ziuTC3VjWlSN+qcurRBwOoP3HtpmBxYdScta5+9dtv9AMnaLg0HenvTrPo8YtWdZir3S ZQeuoiZ9WwmNhs3M/4EjcXiwFJeJfiqTxLiq9E+naiMZMtgDmJs8u5ZBcwv7nQbGQTFc uMiWJ+Q+L0GCFlF9wYe21iUPUK/HgGoBGy1NCrWdm/hSx9kqajFB60BaNHY2aNgLvKCK 1npBDcB8WezopfPqq+Yal6EYJduCmKjgdHh/CvtepLtVLOgvPYifOYwtTclqFHi4UpB9 HRjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=KJULdVfLsRoB+sGyptDGkaVMQxwt1Boacmd0PqpEDts=; b=ksjEqJfMLpkp6AGGJa6glv2ISoHLk/qyWEMJooZ1nrzg+HZuHPXLs7NJMlb1h8fEnU tezlpFhZNVGvIaC5vlNXWx8t9WPeJHAZkUYRK0d+eDS1CsnpH4rrOPyBYYq3yUX6CEDo dOeZZOX24LFeDRLkvzvQ8PTkOBAofgI+JKgEm53uaxzloYiP6fpqNnsHMhuUSZkuShHd NsHFK/taBiqN4FRh64JQXpAMegjULGuw2niQ8vCIjeMkoOutmVHLaL+rbwgt4urQaNjP sryLze3AydYoPyhxjpZ4mzRFVbwZyEhG0Eqzt76TbBp3y95XJG9bZb6ZSWXebMqNkKxj C/qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MmnXcabM; spf=pass (google.com: domain of urezki@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=urezki@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id c19sor4885526ljk.34.2019.05.27.02.38.51 for <linux-mm@kvack.org> (Google Transport Security); Mon, 27 May 2019 02:38:51 -0700 (PDT) Received-SPF: pass (google.com: domain of urezki@gmail.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MmnXcabM; spf=pass (google.com: domain of urezki@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=urezki@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=KJULdVfLsRoB+sGyptDGkaVMQxwt1Boacmd0PqpEDts=; b=MmnXcabMcBI+WEeJsRnfddqU+lstsU0ktKmJQSl7uzI8EtRq8qnyMA1cBgVBf32wcl Qf9naQEpc4VuIe9mIUYjZTAYExdOX+zopaT++YhS0Ah4GF/kzgFipzmfNcc72WyW0nU8 9Ga3FDXngULiryXfN25QYjlUTI0Jg6KvDbl9WOhLzPtVw1d9KlKbjmBzwtppe6rpto3S CFWkdSmCO+oGvxbextYTgFnBuzzm+pV9u1qKr5cnN59/J3EO+LwtbbT84F903cE1Ise2 4F66WtEzW9yL+mTT9IeSpAWeRAPUhoF88aRpMSrakmjlm6LHilud+/g/RB/GfPLBU+06 Zyww== X-Google-Smtp-Source: APXvYqzzWrckWdhlUjfKT+Mr6KWs7IdSOmIQyO0BsfKDrAL58MmE+qhRLg1+HDh+WeyceMc9FuBwfA== X-Received: by 2002:a2e:8716:: with SMTP id m22mr8686777lji.128.1558949931317; Mon, 27 May 2019 02:38:51 -0700 (PDT) Received: from pc636.semobile.internal ([37.139.158.167]) by smtp.gmail.com with ESMTPSA id z26sm2176293lfg.31.2019.05.27.02.38.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 May 2019 02:38:50 -0700 (PDT) From: "Uladzislau Rezki (Sony)" <urezki@gmail.com> To: Andrew Morton <akpm@linux-foundation.org>, linux-mm@kvack.org Cc: Roman Gushchin <guro@fb.com>, Uladzislau Rezki <urezki@gmail.com>, Hillf Danton <hdanton@sina.com>, Michal Hocko <mhocko@suse.com>, Matthew Wilcox <willy@infradead.org>, LKML <linux-kernel@vger.kernel.org>, Thomas Garnier <thgarnie@google.com>, Oleksiy Avramchenko <oleksiy.avramchenko@sonymobile.com>, Steven Rostedt <rostedt@goodmis.org>, Joel Fernandes <joelaf@google.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>, Tejun Heo <tj@kernel.org> Subject: [PATCH v3 0/4] Some cleanups for the KVA/vmalloc Date: Mon, 27 May 2019 11:38:38 +0200 Message-Id: <20190527093842.10701-1-urezki@gmail.com> X-Mailer: git-send-email 2.11.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Some cleanups for the KVA/vmalloc
|
expand
|
On Mon, May 27, 2019 at 11:38:41AM +0200, Uladzislau Rezki (Sony) wrote: > It does not make sense to try to "unlink" the node that is > definitely not linked with a list nor tree. On the first > merge step VA just points to the previously disconnected > busy area. > > On the second step, check if the node has been merged and do > "unlink" if so, because now it points to an object that must > be linked. > > Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> > Acked-by: Hillf Danton <hdanton@sina.com> Reviewed-by: Roman Gushchin <guro@fb.com> Thanks!