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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE0C1C43387 for ; Wed, 9 Jan 2019 15:17:41 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61CE7206B6 for ; Wed, 9 Jan 2019 15:17:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RJv2y03M" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 61CE7206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1ghFbX-0001KC-HT; Wed, 09 Jan 2019 10:17:15 -0500 Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1ghFbV-0001K0-Nf for kernelnewbies@kernelnewbies.org; Wed, 09 Jan 2019 10:17:13 -0500 Received: by mail-ed1-x543.google.com with SMTP id y20so7586063edw.9 for ; Wed, 09 Jan 2019 07:17:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=VrydN01zMNGeNd3hrlEJhr+SbyARkNAWxNGDRMZoI0c=; b=RJv2y03MABHHqTugTNFOAlfzG5fWk/VEcQu9y1//44aX0zLk/mQ+prQi1wV3nUKRvh hlWblC7QkOBqzTHdbPdK1klv+JpoJY+sDpN2w1kkpqaNkpXYC8sP6xQaBQCZQh7UK+ci S1RsfkDNNaA3hyoCOP8hRTBoRhAyrRWH+YwMubksafw8XP1j9Rl49hxCc9B/u+/eRQSu sfUxRzqSLCW24KtQbsq60qbZVxpjGEdJoTcUYUQ1QXwVDh47cCfHV+un6fphVp//88Gz WiAJOi+u8oCv+hN4gnZEg7rDA5AT8aGtPuy+zupZDkBKN9U2e2czIK+kWp8DtuPEbxnW ZAvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VrydN01zMNGeNd3hrlEJhr+SbyARkNAWxNGDRMZoI0c=; b=r6kY4X+rEjX8TIXKR5Nj3b8MuVIUjzlmg9wdfRAZ0biBo/93mU7+ReLyvPWKsVvZr+ X7xK7TSsxIYAc0lHT/oGw3MwwL8Ets9pfar25Sr+kW5F5uAr3AkNVtcosJLQF1eIXXRM JXVz+C5K4q9wSX2tuwmmvUlTyNRtTUKBPmDWLV7UMaixZNKGn/xRWmbDZ65daRufRhkJ Tqgv3xKV9sBLHK8cAdd/krP+XQgtRB0iU1UHR3r/YaN59bomda6hmIOSS8taRU2lWWCT XdgPJkrX0GIhhqYeOnO5vitKoozDrr4/NceTbVqUR5NmW1uwLyKTh064Aa+BGVtq9T10 OcOQ== X-Gm-Message-State: AJcUukfMdF0MugJn4htpiqe3VNj/IgL889jIp5yxLFBS1aQaRRpVwI2k EVXoBcFNBoheVncuBDhLfif53fBH0KbDd5e52U/D+g== X-Google-Smtp-Source: ALg8bN4ZLKmw9m7dpSphAX1Ime7lqhmkrEXebRLAT0EKZoYkHubECbBWnAiQ06RXYWUUgM0uDkb6IXfGqtQxr8UnS0I= X-Received: by 2002:a17:906:6c14:: with SMTP id j20-v6mr5715580ejr.41.1547047030336; Wed, 09 Jan 2019 07:17:10 -0800 (PST) MIME-Version: 1.0 From: Carter Cheng Date: Wed, 9 Jan 2019 23:16:58 +0800 Message-ID: Subject: where to find the kmalloc implementation To: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0122297710078825973==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============0122297710078825973== Content-Type: multipart/alternative; boundary="000000000000b1b074057f07f430" --000000000000b1b074057f07f430 Content-Type: text/plain; charset="UTF-8" Hi, I am curious where in the kernel sources would I find the kmalloc implementation? I am curious how GFP_ATOMIC option is implemented. Thanks, Carter. --000000000000b1b074057f07f430 Content-Type: text/html; charset="UTF-8"
Hi,

I am curious where in the kernel sources would I find the kmalloc implementation? I am curious how GFP_ATOMIC option is implemented.

Thanks,

Carter.
--000000000000b1b074057f07f430-- --===============0122297710078825973== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============0122297710078825973==--