Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1057053ybh; Tue, 10 Mar 2020 13:43:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vus5fuinYTxulNopfUKYgITFuPjTWDwwG3yGNMxCkgPoBSuvEY6JuyFIJRhqB94Bk1o3SbL X-Received: by 2002:aca:4a11:: with SMTP id x17mr2506720oia.146.1583873029923; Tue, 10 Mar 2020 13:43:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583873029; cv=none; d=google.com; s=arc-20160816; b=Fj08CLJd1SaxiPjSdf5QVtCAfl5EakwU2OdUB60+/sdNOAvXmvxaTsFJFN6zXpcLwp zGNeXYXNjfhYfINtWqK5nJiv1bdT3vnRsJWwShDL7Thh8eTzx0QZxD6jH/YHGl2TJmXA ABcXUvSvS5ENgoITbzbCSJArwymjgA2kS04tvetIFtwBiaI/5LHQp1l8Q+x8x7s+/tS1 xS1y4K8hKyWzr+92Ba4WtezLP152uEsxrQW28uDYcE+1OhJY95QyhLdUihFitefGwxx5 xdBwndtLtz0dLNX3yFxQlxUKncNP5TgWe+SkgtQg24IPXTy3+49jiga3fr5G9jXS2ie5 Hs8g== 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; bh=/deQQvgAa+oP9j87xo/rUZaCa5U0Y9db6yvuNAirEL0=; b=SLwo+en0Ba+cfB2brL1nHPaWkPiY9L+8CBvImwBQZdesdAxS7kNVyL+2byuHsAKKWW spu5SMNKaK4n9ArivR42yOnEZlBa83hNbFpHJS4xo57Cde9GmBPKZoqs2y5mNo5U7bdY 6aBi4JH82w6QTCEIJxPpJ/I0xV5zmwCebve6u19YjawV9z/rbGTOF92U5yt8UiCaNsg5 60lH/MfbUtQZPSODcb704x1DLPRqdmU0VmZLQF+rJcBJdneLYhi3hCjd3DNQtjVwEpFU k6zRZk+yReq4+T3iL5eiGsty7sqxC/HLGIYq6a+hmqyKj3aFG5HRrAZjN9iRkDq1pXVg o8lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Ai8FMPZw; 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 l25si6309185oie.234.2020.03.10.13.43.38; Tue, 10 Mar 2020 13:43:49 -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=Ai8FMPZw; 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 S1727559AbgCJUmM (ORCPT + 99 others); Tue, 10 Mar 2020 16:42:12 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:40826 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727520AbgCJUmJ (ORCPT ); Tue, 10 Mar 2020 16:42:09 -0400 Received: by mail-ot1-f67.google.com with SMTP id h17so2140401otn.7 for ; Tue, 10 Mar 2020 13:42:08 -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=/deQQvgAa+oP9j87xo/rUZaCa5U0Y9db6yvuNAirEL0=; b=Ai8FMPZwPDU7dLeUmmQ5IrGiGriK5BF4c8C/goY7nt9A9p0gwe5maK+FI7+io4/LeT TH75Po6PkJ8cLhul21gKVq5bWmL9bTskL2/wNLmg/UhfqLGQmIZTlDwwzbG4bhIx/8Wv nl67KGQquy1o2acEsx4cOKOda/SY8w9A9rZBy4UxDDi2XSDeodDuMiMmGE448FGGfIHQ US1d67PAbkslxP0i5Ev6LK+9hnyhEL4jnDxjpu/dzCkvxOA6VRtuB0PUXr6qtk9lROVD NYYE3TiPoonSAGo6CIxmgX00jAcsnM1upezPCYcMpmmNna94s8ehKfcP/zP+lB6K5b1w sjHQ== 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=/deQQvgAa+oP9j87xo/rUZaCa5U0Y9db6yvuNAirEL0=; b=n5eBYWs/yeqmA8UajAcXJzlTZ1+lWKi5R66ZEExGCooGEMTanTq2WUfxH9NRnPpMBJ jpJeTo1h5/B7DAH/vVI1gTz/Y5srkwJcndLmHnEMkwXUuc488bbkQweyG5wDxbtN3Lf1 wZUCvIILIetfdtP4gJemX4+wRyvCYpPrbl+sJIHzoddyb4Lt6sDgyjhnE5RNFE/GkPCE 9a52H1J1VZ4AseM4HPEJ/28Z+uWKXl2dyuKToPIsw9Gpz6tl2iXwW6W3LLAJyT+7Aj2N IiVeCvfG+uVjoLNaRFl7V8uDwpQmA//txpLzd1vqeyYc8C0KNzhId+1T2tnqvlBWdRI6 GdcA== X-Gm-Message-State: ANhLgQ33NmMNj3oZ2LOXN0h8zOVndMXBU82iWtvsG7we3QWV/VivVCcN OX4omAxYJffahQEkBFQ8gq/lWDfvBPVijLRgukb+tg== X-Received: by 2002:a05:6830:118c:: with SMTP id u12mr17412267otq.124.1583872928122; Tue, 10 Mar 2020 13:42:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shakeel Butt Date: Tue, 10 Mar 2020 13:41:57 -0700 Message-ID: Subject: Re: [PATCH v2 1/4] kernfs: kvmalloc xattr value instead of kmalloc To: Daniel Xu Cc: Cgroups , Tejun Heo , Li Zefan , Johannes Weiner , LKML , Greg Kroah-Hartman , Kernel Team 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 Tue, Mar 10, 2020 at 1:40 PM Daniel Xu wrote: > > Hi Shakeel, > > On Tue Mar 10, 2020 at 12:40 PM, Shakeel Butt wrote: > > Hi Daniel, > > > > > > On Thu, Mar 5, 2020 at 1:16 PM Daniel Xu wrote: > > > > > > It's not really necessary to have contiguous physical memory for xattr > > > values. We no longer need to worry about higher order allocations > > > failing with kvmalloc, especially because the xattr size limit is at > > > 64K. > > > > > > Signed-off-by: Daniel Xu > > > > > > The patch looks fine to me. However the commit message is too cryptic > > i.e. hard to get the motivation behind the change. > > > > Thanks for taking a look. The real reason I did it was because Tejun > said so :). > > Tejun, is there a larger reason? > I understand the reason. I am just suggesting to rephrase it to be more clear.