From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id A89C4ECAAD8 for ; Tue, 20 Sep 2022 12:07:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3506B94000D; Tue, 20 Sep 2022 08:07:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2FFEF940009; Tue, 20 Sep 2022 08:07:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1EF3494000D; Tue, 20 Sep 2022 08:07:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 0E54C940009 for ; Tue, 20 Sep 2022 08:07:50 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id DF1C440E33 for ; Tue, 20 Sep 2022 12:07:49 +0000 (UTC) X-FDA: 79932339858.13.DDBE3A0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf20.hostedemail.com (Postfix) with ESMTP id 943D01C001D for ; Tue, 20 Sep 2022 12:07:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663675669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M0ZY5vaYfoz9kwOnjpwlZY1Z5D69afmUAFhb3t3criU=; b=JimpWs0uRYSXF7y8D97nHRuJOjU6BizJAiCCGAArc9ReSQnY4gJl0o7AHKO7fzeM1IPP1y uuKqMtuV9Z0ZpUpscGoqcSgaLH11eqAUeMxRw/3nhAe6RPt0pu5NF+E2MfKDjCSbaR9Jms ZjdlmzjHUEFFKjndLevLbJPxQJxuLgE= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-319-GVscREoIPyab9qCrPp0LzA-1; Tue, 20 Sep 2022 08:07:47 -0400 X-MC-Unique: GVscREoIPyab9qCrPp0LzA-1 Received: by mail-wr1-f72.google.com with SMTP id v7-20020adfa1c7000000b0022ae7d7313eso1055826wrv.19 for ; Tue, 20 Sep 2022 05:07:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date; bh=M0ZY5vaYfoz9kwOnjpwlZY1Z5D69afmUAFhb3t3criU=; b=ac92DM3ItOBJFh71hQZemN70TlMphWD8S1ax79kHui4l8QpEcRGgayXy7wLFLsKbf/ ncyDZb4H4MXYKlit9RBGv/zo1/3DL+utkx8w15RqvRNoFqLIvvSBFyWhKWtCR4WNiGzD 3FYZyxNGfPZnxdjbnFuqf7/J8ZQhfz6YxaFd3tBonxZTcIT8jWOgYw/yU0AtJqQWEbWd P+YdLoOoQmvf1n1B8CdpQeonejX9zYbd7bIBAluw7y0SxJGgUdMur85a4OzYpLE4tFZc zbV7bL6eACeBF4Z4IR4b6IkqARke+E2qxAOdo0jZFsJi6lQPxxlUEVh7rgNhRXwfh6eP mG/Q== X-Gm-Message-State: ACrzQf2vSU1s+VrcQ/ROM/nGQ/ubO8zeqLWQaOZa6pulbtsKsiUZ1sNM 4BwRCvxHqkmq9Hwx1VYkuNUAJ7unOLr35DbInF7rb2jZ5mvmwRmXweXzmwviiox3P45rfvdw8SR rPfFfQcb/xFw= X-Received: by 2002:a05:600c:21c3:b0:3b4:7e47:e3a with SMTP id x3-20020a05600c21c300b003b47e470e3amr2097788wmj.167.1663675666809; Tue, 20 Sep 2022 05:07:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7hvu/LtTqgmiGiLnON1sbVaBuY3pLPUMTz03JGedqtApAuwSGU2LcIPFU6Y6uPT3qDTcDr2w== X-Received: by 2002:a05:600c:21c3:b0:3b4:7e47:e3a with SMTP id x3-20020a05600c21c300b003b47e470e3amr2097758wmj.167.1663675666377; Tue, 20 Sep 2022 05:07:46 -0700 (PDT) Received: from ?IPV6:2003:cb:c712:2300:e82d:5a58:4fd8:c1e6? (p200300cbc7122300e82d5a584fd8c1e6.dip0.t-ipconnect.de. [2003:cb:c712:2300:e82d:5a58:4fd8:c1e6]) by smtp.gmail.com with ESMTPSA id o2-20020a05600c510200b003a5b6086381sm18818262wms.48.2022.09.20.05.07.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Sep 2022 05:07:45 -0700 (PDT) Message-ID: <64944e1a-1791-f10a-9d36-965267025c76@redhat.com> Date: Tue, 20 Sep 2022 14:07:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH v2 8/9] memory: replace IPC_CALLBACK_PRI with MM_BATCH_CALLBACK_PRI To: Liu Shixin , Andrew Morton , Zefan Li , Waiman Long , Christoph Lameter Cc: linux-mm@kvack.org, Kefeng Wang References: <20220920025123.2868953-1-liushixin2@huawei.com> <20220920025123.2868953-9-liushixin2@huawei.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20220920025123.2868953-9-liushixin2@huawei.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=JimpWs0u; spf=pass (imf20.hostedemail.com: domain of david@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663675669; a=rsa-sha256; cv=none; b=JNHaEw+R4HrgA2jmi+EJT74UMUVzNs5WJv5B43H7dgUKn+wUyg5G3wKOb1tg9LkaTRsJC/ 9JVkwvaeZxELiFVbCutu28LtbLi5Ki1yWg4IcB8r0GacUyx5Jbr0nBHXgQRTZUfY5s9wSg PLd58P1KLeKq4jdWkSa9YuTq890tLVI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663675669; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=M0ZY5vaYfoz9kwOnjpwlZY1Z5D69afmUAFhb3t3criU=; b=TiPgYz1JjpKrAqBXEXe2h4EEVUstgRaPbXub0GzAZFgwqaO6y2yrRDsXNR/RjpSL/Aio6Y qRgRxESvRcgoIErz2H/Wazq+WXy2g+4V27Ojpo9c4fmDQWXM+a5G2W23OXHmzJOQ5Wo4yP hf61ZKogoDGvLcmylKPETOfiHUifY5Q= X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 943D01C001D X-Rspam-User: Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=JimpWs0u; spf=pass (imf20.hostedemail.com: domain of david@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Stat-Signature: ccbfo5n41jkhn65jobtannsieorz97ok X-HE-Tag: 1663675669-407649 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000019, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 20.09.22 04:51, Liu Shixin wrote: > Since there is nothing to do with ipc, it is strange to use IPC_CALLBACK_PRI > here. Replace IPC_CALLBACK_PRI with MM_BATCH_CALLBACK_PRI for easy reading. Should this better be called MM_COMPUTE_BATCH_CALLBACK_PRI Not so sure if "CALLBACK" is really the right term to use here in general ... we're talking about the memory notifier priority. -- Thanks, David / dhildenb