Received: by 10.213.65.68 with SMTP id h4csp2711732imn; Mon, 9 Apr 2018 07:54:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx49hPi7ijFD/mhdMbIpR0ShzfkAWqPNOnEMDG/dh8NyaeqyD7iSD3VjT/B2kT4q/wBMTBB+e X-Received: by 2002:a17:902:7b97:: with SMTP id w23-v6mr4716895pll.45.1523285647174; Mon, 09 Apr 2018 07:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523285647; cv=none; d=google.com; s=arc-20160816; b=gaT07J5ao30UFxQBMbohISkRe761/oUtQJhnyhzMHdlu2FN4aIOdS7NOmQOPkx8JW2 ngLrU8jBSCnnfCAoPzknXa12ove9B1BeSeN0g+vSU7CKBDE38xwd2D2lJ6rXoTUsSDUY O1yiA/w908U37UQlsVRjhXFMcLD3crmQl6GYELwLBc0a622GgrhKbiD0gX3QUm9XZyX5 NNcGAXkQFN7L2vy3QMZhNJAWh2F7J5J+wEenyHXz+74H4yTES0hUrzTRZSPfN410Cf02 zQQfcjoGIfVKy9qp3F+Eig15f6/egec5A1Ws9hL3m03ILcaq5D1GLEBNTICDJoPQAkzL WVcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=7hOfgvGZZ1EpNo72e21ySJoz9Y5BRX6IVtidBOKaZvc=; b=ejS2vYGNn00QGGB6CQVdXTZVc7dB/ZyFBt+jmiS1ca9zxyGwUeS7ze2D7puuuLsbSi /E0d8MXqLBsm8V3/VtcanpApn2G3hS9UyWLQcVdmHMrVKYfhH1kZ5DG8s0dIKHRIet4R J1o08INIeh6pwSeZxxdWrAsLkO4gy8yKIwykAV05eELqf672Su2pwVeP1vEQ1w/PZQZH 5TCg7Y07SBt7TF18XTQoC++l6x2dnqqSjbWeR4/7cHzIZ6mCidYXtd5ZIlsDGbFyKIFn D4S3su70Y3JwQAqoyS9lk0LkXh7CjPNT7Wkbe5Hl2A4WWURjEm7TwLdxwAGkJBPRN9ha zsHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JbKcLJMD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p64si314839pga.492.2018.04.09.07.53.29; Mon, 09 Apr 2018 07:54:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JbKcLJMD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752783AbeDIOqY (ORCPT + 99 others); Mon, 9 Apr 2018 10:46:24 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:38448 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751522AbeDIOqW (ORCPT ); Mon, 9 Apr 2018 10:46:22 -0400 Received: by mail-pf0-f194.google.com with SMTP id y69so5870088pfb.5; Mon, 09 Apr 2018 07:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=7hOfgvGZZ1EpNo72e21ySJoz9Y5BRX6IVtidBOKaZvc=; b=JbKcLJMDCSMR/f37RJL69/D1iXlQrnA7XL4iZa1Mh8LBmKGuw7pkC8Mm5AyJec7aMZ 3bNTHTrhFmXOFtnk2l8cX7WiQTW8C4WvbW1U0ZISao2e3pWILwa/cBdbvdFIMPnx0UCq +5MvIVH928QeNVEd3A7KDPjR48PZLMAOn/wiAJr3EgiRBhHbAOjibvjJO4OLsM7/9dUG 7LWvP0C8e1xIRjFgNi5WaSyOEceU9CCgOSnt+HqXG4ETIehSUpTV5cCCaLBeaeP3y068 WVZN+PT7AbrmI/AHqKx2dn5hAcU4Yc1YB25GSP4W1jUwpHBUURZt3VGp8H7OKq6OlIyb oN7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=7hOfgvGZZ1EpNo72e21ySJoz9Y5BRX6IVtidBOKaZvc=; b=Ivw+bUt4KIVQh66zJWZG+8iSMcszDO2MVqPXyL7u0yoAFBedqmTqzv0RQw90SHHo9n T7a8UPrlx0c62mEo1GnRDuv9Ey/tHY0ewpEug3g+X6LHl2G1kAR7a+RkUG+TgOsIBRwi yEEd9lm8dWNn5D1xdn8CnhgaOVcIOFhIHOeJWqAgG8oMcJD+d/IT2ygF5efs8+8NJgZS HR23u/InoVqAyNIUWdb6lhLCdzaD9c/K2i9/miuS4zCQ9H89KmXqsIDHIBzGcO56Y2fA M8oWXaVnOnCSmK4wU/0pBIQAvabMBsYsyOcS1uHCuiM0NTl7JBaEAwOBKlaKBkJPdBiR Bi6g== X-Gm-Message-State: AElRT7H6d8JVzHEcTHvcuc0oHNJN08I9I046g8d0HYaRd1r8o3aW7evw 0O8P8BLkEMnBNcfGeZgUUU/DIRjq X-Received: by 10.101.97.169 with SMTP id i9mr25058451pgv.31.1523285181859; Mon, 09 Apr 2018 07:46:21 -0700 (PDT) Received: from ?IPv6:2402:f000:1:1501:200:5efe:166.111.70.53? ([2402:f000:1:1501:200:5efe:a66f:4635]) by smtp.gmail.com with ESMTPSA id v23sm1108100pfn.65.2018.04.09.07.46.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Apr 2018 07:46:21 -0700 (PDT) Subject: Re: [PATCH] net: dccp: Replace GFP_ATOMIC with GFP_KERNEL in dccp_init To: Eric Dumazet , gerrit@erg.abdn.ac.uk, davem@davemloft.net Cc: dccp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1523283004-25581-1-git-send-email-baijiaju1990@gmail.com> <8216dee8-5e52-421e-026a-4c75d654be54@gmail.com> From: Jia-Ju Bai Message-ID: Date: Mon, 9 Apr 2018 22:46:05 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <8216dee8-5e52-421e-026a-4c75d654be54@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/4/9 22:42, Eric Dumazet wrote: > > On 04/09/2018 07:10 AM, Jia-Ju Bai wrote: >> dccp_init() is never called in atomic context. >> This function is only set as a parameter of module_init(). >> >> Despite never getting called from atomic context, >> dccp_init() calls __get_free_pages() with GFP_ATOMIC, >> which waits busily for allocation. > What do you mean by "waits busily" ? > > GFP_ATOMIC does not sleep, does not wait. Sorry, I should modify it to "does not sleep". Do you think it is okay? Best wishes, Jia-Ju Bai