From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D183F441022 for ; Fri, 10 Jul 2026 16:48:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783702114; cv=none; b=H4o7hK/UAieWAf5veHraXzYaluZ5/yoeOTjqhmxBUDUPkyEu8OmllxVHbYk9nFZox0pU0gL6ZnZVXdTs+DsNiDwzwxgCp2CpMFjWS5XY6zytUQ7EgXu6aHn2+JLUyNghWIh+TAeYJqF03p4rTq9mpC2Q+0KMu110hvq0dHZNav0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783702114; c=relaxed/simple; bh=+/fv01wwyYrVmIZh35u1DvA8BWdEZMjEk7LlzZw2uoc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fHURlsTwbZungZyvLd4xXyoBrM1FCakNyWzMfSDC/oaQOybbxZZ+Z99IYXErrFf2p36TGUXEPcO1t8N7CMMPvlh74u2uXzYsIvLqyd0Dr22R7Dwql3DEU9vNcPp3Ztxdb22+++SiYEBzjsMX5bgg04baFihtm6zPZFgND7ir4q4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=cONAkFV8; arc=none smtp.client-ip=209.85.219.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="cONAkFV8" Received: by mail-qv1-f46.google.com with SMTP id 6a1803df08f44-902fc790cd5so7059906d6.1 for ; Fri, 10 Jul 2026 09:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1783702112; x=1784306912; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=uqcGhN/IqnLY5kn4sQ1A7rwVJCth8mzmpAjiHFK7f+A=; b=cONAkFV8nAue3sdSajC9uz3kBobHIPNo2Pke+U6dg/+EKkDCvALATNCqG0l/Itm+ze wGjVRZZoNOSDT2F1Wcg98Uen0yKxgGxkNRQx4g6ErTKqdKN2LVoTLuLJRtu1Wat7uYd0 Fk9zemfBzAAllbTj7NG4MjKrHpnku3OOzeJ5jzbmktDPHbZP+UQhrmb+3TPWAC2RtTDL Q23bsMt/IP6MWWXgGRsFBLCj5gUQI/NJg2eiRkTYrxdFCXNA3/v3nlnQlOFZ1PkgR7lo WWvsf86DzYZwvZZXpJqP9DCZeGlttQXW2+xL9JGYe0CUnh1DDFP1AHvbVp+hzKbivJ4r SfAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783702112; x=1784306912; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=uqcGhN/IqnLY5kn4sQ1A7rwVJCth8mzmpAjiHFK7f+A=; b=SCvSbo9aL4kHWL3POXAzolnmUjZfFuurCIIWGzMv/Lq1ykp5vdQWa51srJfeLQOkp1 TyuO6t68V0yOL5waV13Hx8KfZOT9TLS+jTmggaqg08vbMsPhbUn1iIg60xlpL9nFJv1T q2FmXL7ISXHbar3ys8jCWlPsc16HLbiFGHHEEENuB1pL7KeD85+J8jjeLJabhkMItPMy 9RPcC7gaFdRFVuk+YU0Mm+7vQ/D+tc+8kbdVq4vuCyHnfXyAP0mv4oCo2j0bb+m3s8a4 Bc/UPv6ktkGmmfW1aQXS13JyGN6xc7xRvoJsMQlK2tsjRYQL66L6B65XOykT11Uf3J03 yoMw== X-Forwarded-Encrypted: i=1; AHgh+RqlqYefnvoklnKTJf5LbeWh9SDoM+AwAa7QxINMYXLkBbzKueVICojW8yZDTbVYry1vApiMgVa09He01Js=@vger.kernel.org X-Gm-Message-State: AOJu0YyxCEt9rJ3lAj+Bl8wEYY9PfgaksnTgaWdeg8rwwJH2YEzYA4I/ VCsUxea6Zlu6pHruhlbJjcEGKBymConQEXJzZYbIvK02U8ALbUyNcvrhr2m66d7nS/g= X-Gm-Gg: AfdE7cl6UlzGDfG0WQcKWFy2k5/+Vwiqf03we+yZHbied9hg0Bipeqc3WalINaMtFCm 3s2IadoY+jtMt1ZWlgP9Xp/y+7DmEyJ88I0WZGaVD2EPHFUj8EMhwubbFQZcCMPLkh7sdqyMteo drghk/9ifnprOL5DSUfw/CQLMmKJXrKUT8Ag1rfkmKXvx5gT1PGc1IPIC0oMFfqxCplyUl9k5Cw eiL1Cts6mjGsgdHczwhtUfa2okuvZnU+Sh5w0HVUeJOUwsYb4BZv0bjEpM416PMchRjBxBVCpY8 HR5lWzx16m9ZcplF4MP8+rA9yKqUJZjOEuJ2lrcxVTMPu+rw/V3fbI0ycFKGl8WQFFp2ORqtbC+ uf+K7EgIhciOKLghi1t05AzguVAQbZn7SQj/0kkZ2oLIeZ+xzA4UHhL8Hokq0 X-Received: by 2002:a05:6214:2a8f:b0:8df:10fd:93f with SMTP id 6a1803df08f44-8fec14a93a2mr150121766d6.12.1783702111533; Fri, 10 Jul 2026 09:48:31 -0700 (PDT) Received: from ziepe.ca ([159.2.72.92]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8ffd87c8d4csm47446776d6.44.2026.07.10.09.48.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 09:48:30 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1wiEOs-00000007ZF5-0qyR; Fri, 10 Jul 2026 13:48:30 -0300 Date: Fri, 10 Jul 2026 13:48:30 -0300 From: Jason Gunthorpe To: Mike Rapoport Cc: "Vlastimil Babka (SUSE)" , Leon Romanovsky , Dennis Dalessandro , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-rdma@vger.kernel.org, Matthew Wilcox , Michal Hocko , "David Hildenbrand (Red Hat)" , Dave Chinner Subject: Re: [PATCH 1/5] RDMA/umem: ib_umem_get(): use kmalloc() to allocate page array Message-ID: <20260710164830.GA1803712@ziepe.ca> References: <20260630-b4-rdma-v1-0-ab42bcf0de92@kernel.org> <20260630-b4-rdma-v1-1-ab42bcf0de92@kernel.org> <20260630123150.GB7525@ziepe.ca> <20260630153638.GG7525@ziepe.ca> <9cc11eeb-372a-49fb-ba89-486333ac71c4@kernel.org> <20260702125516.GO7525@ziepe.ca> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Jul 02, 2026 at 10:36:29PM +0300, Mike Rapoport wrote: > On Thu, Jul 02, 2026 at 09:55:16AM -0300, Jason Gunthorpe wrote: > > On Thu, Jul 02, 2026 at 02:46:46PM +0200, Vlastimil Babka (SUSE) wrote: > > > I think this should be discussed more broadly and not block this > > > change. > > > > Currently all of these get_free_pages ones in this series are this > > special need, so I'd like to not loose that marking somehow. Maybe a > > comment or maybe a inline wrapper function. > > Comment is easy :) > > As for an inline wrapper, is there an appropriate rdma header to put it? > I don't think it belongs to slab.h. Well, lets go with a comment Jason