Received: by 10.213.65.68 with SMTP id h4csp1221202imn; Sun, 18 Mar 2018 20:16:32 -0700 (PDT) X-Google-Smtp-Source: AG47ELsw7Bxue2yO8lN51pdoWpSoEZbchQer2LHOTLCO4nXK3Q4WrQ/esAfra3nIra4UlWbDlIvr X-Received: by 2002:a17:902:167:: with SMTP id 94-v6mr10924097plb.294.1521429392589; Sun, 18 Mar 2018 20:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521429392; cv=none; d=google.com; s=arc-20160816; b=qIKFwcGtYUxydIxamW5Ze8wsWT86dkMr5/q++XrvXWcGkq75JCzaQkeWIihEqcXK5u jqzJBf8uwJ1NDc21pLVJvStbqLOgQB8xnxrAm6aefJN7PAwrFg7vZD7KcTLMp+27/FDn taoA9MQA19W87kbdVoB4dBzsy0LqEpp0OvR+ncLUWtzG5oYuf14G8LBbKxnP4p8I8Uos E3KD+WykHPxa6WFRF2IhuUUBI4AamduN/a3sGkEkAMcTr6Cyp1fLnBdNcHupWVWWWRgm QlehGCUfk/8HyneCfRL4EOdm0mEyQyM6OWLzgVxwBHgpOIbyMn363FXzY9aZUw80WA4y +r/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=v+zz8PAA0c2fKFWLuYEovUuimPmMTFo8lCHpgREKZ3o=; b=NSfglZV5Pn+YAgqoAZBAEybbifZWSLjv0Azb2FyrbdvydJwoAwGl2OFj4rdY9pZLHd ws85Bm25/CYB4Vvu99OrRCL+TkvmbeCBDRkYFXKclSGfMDmVKg3HMAZGo2i7I9vfUn6Z y6U4Xt1fFE9U7KhrXILDK97/nGNoBohSTW4d1tIwaiwy+lCgSN1pre8AQ0v3i/1Irhtt uSYrAgSFuN99AN9OGgEmI8t++EjIwpgjJKoM6iukv2t550uHsxDH7nc9ApGHOhgZFwMB sdCwCrAsa+PbNXbvhmJZnHSAJHeIB05CzVVAYVb4vq9x04+hsqyWTFwMlYH+19Wn6Rtg 9n6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pJSKOoyo; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h67si9872009pfj.11.2018.03.18.20.16.18; Sun, 18 Mar 2018 20:16:32 -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=@google.com header.s=20161025 header.b=pJSKOoyo; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755090AbeCSDPZ (ORCPT + 99 others); Sun, 18 Mar 2018 23:15:25 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:51485 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754892AbeCSDPY (ORCPT ); Sun, 18 Mar 2018 23:15:24 -0400 Received: by mail-wm0-f43.google.com with SMTP id h21so12507061wmd.1 for ; Sun, 18 Mar 2018 20:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v+zz8PAA0c2fKFWLuYEovUuimPmMTFo8lCHpgREKZ3o=; b=pJSKOoyoHeOX4zJ3bTl1nGocUCShm29vVfrY3GW52pFRhwV0zDH/XRgctQTTiWkTod 09fyH8nnfXkiDS0xhpbIAkFFIo91kXedMk0fe5P/WYUWA0HHcX+hQzSF8qss6zrpxf00 apCQDjxmWyRBIu+IbWIja0jOl3xCCnBdGM+N0anNX/L/NmmijVFnErbhFNPRsK5MgbVX qMVLOkDk5JB3X6qJM4p6++dYsOKBGLn5RpX8QczfN6HCrVNGsxMQuHyufryNAjA/TzP3 k64s8ip96L6xGB4erLYaw/rurB0/qn06Koe+urs5WuvZT+vs1TWOXbSyBx0gnZu57j2y mo1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v+zz8PAA0c2fKFWLuYEovUuimPmMTFo8lCHpgREKZ3o=; b=lbG1V0d8ZrrxWzNp8QNEs+3Ibg990lvBNu9MsqLwqZgx8fX/h7B/TIVqQdNIuP9BKi Y31cOGJlQp1dPludEbEp6zaGhaUKzsOeW7cDTWRVbkLmSmbfbO2mPSXhtnRvm6XjsOam rtBtJ8TrJDKg+ViY1ObCMx4e48nZpfbop+RQGmqgXIY1t21ZGPVOWseAyxJAFXnXq4vx zNtbWuM7OnJungW1deltvL8jMHm8gplztRzj7GF7difCiZKwneWuMVTQGjiunppcG3Ni zSO94ATsR755Iw6+Gon6uZ3mOa2uvgTeeEc3jGzNOdURj/KEDhMRUEeb4wZMyP4JhKfl 2apg== X-Gm-Message-State: AElRT7Ewk/y45QdcP+4htEPBv1ZiLCxVjYcu+Ri4IBhW7dl7PW5jjvTw J8zGytnkWY1tP6knA+zKWur+dcMeRlGM/dYMd5ofyQ== X-Received: by 10.80.218.204 with SMTP id s12mr11787131edj.171.1521429322418; Sun, 18 Mar 2018 20:15:22 -0700 (PDT) MIME-Version: 1.0 References: <20180316182512.118361-1-wvw@google.com> <87zi34zt85.fsf@yhuang-dev.intel.com> In-Reply-To: <87zi34zt85.fsf@yhuang-dev.intel.com> From: Wei Wang Date: Mon, 19 Mar 2018 03:15:11 +0000 Message-ID: Subject: Re: [PATCH] mm: add config for readahead window To: Huang Ying Cc: gregkh@linuxfoundation.org, Todd Poynor , Wei Wang , Andrew Morton , Dan Williams , Michal Hocko , "Kirill A. Shutemov" , Jan Kara , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Hugh Dickins , Matthew Wilcox , Ingo Molnar , Sherry Cheung , "Oliver O'Halloran" , Andrey Ryabinin , Dennis Zhou , Pavel Tatashin , linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 18, 2018 at 7:37 PM Huang, Ying wrote: > Wei Wang writes: > > Android devices boot time benefits by bigger readahead window setting from > > init. This patch will make readahead window a config so early boot can > > benefit by it as well. > Can you change the source code of init to call ioctl(BLKRASET) early? > Best Regards, > Huang, Ying Yes, I am sure we can work this out by not touching it in mainline kernel. One reason to bring it up again is that we found some SoC vendor has always set a different value than default (128) in their kernel tree. Thanks, Wei Wang