From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) (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 D199947886D for ; Fri, 10 Jul 2026 16:48:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783702114; cv=none; b=RbQtH6JdDY1D9YPURVp6vfGW/TTfE7fQmda2gox6071Vwq/lrjuAgS9sUdMpTfpDz9S281bIW0GaQQa0S2pPn3pBM0GuSRnirEQm6qtEn2XhXmwd5B6HVljWMbXaZKwCek/fMlQSqZ+ex2InZOZO7RbdFntMhCNLBKQmKz1mq5o= 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.50 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-f50.google.com with SMTP id 6a1803df08f44-8f23e851626so9801206d6.3 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=UjtUJ3RzgPjJah3zsMgFpKXsRacAXwxja5ZitAaH6YDorNsx53/V53kCMsBaCP/Tg5 mXmqsUjwdF8wmvdhvOFXn1r0OEhOVC7YAeYSQYP41H5erpyRPdmHLbCBm+IC+P3I9Ov6 M5VpdY78Om1wsgDkqGo32svQKPdabcrw9W8oZRmra+T+F7yTjK36bQ4waeGGQbqzRmGX IOqAymUQPbI29r3TPfjFQD7fbLPU35+BAERjCqYjwJ8mepu23B1z2G6Ql8ej7Yh7B8Vx eQ+cSyEuByrI9PK3bykwiqJ7RMYFQKf3Ce0LtKhW4ameWfAoHm3uOOr1CrolohmxFkND r4mA== X-Forwarded-Encrypted: i=1; AHgh+Ro+7akz+U7dtHyIUt/5tX2HFXfSi1U+WOpvcmUEXAYrxQ65jihbS0FflYWaCmRMvt8HRl7qVZk5EhyJ@vger.kernel.org X-Gm-Message-State: AOJu0YxnpYKJ4YbIl+1BIUPHVnzi5urwW8IYwrDgV795mZk6hjV5tGUJ r+xTr1qhBmIU0H1TbX3tf/iMB+AWxDDv3dHyykj//SoBxLPTmDeKauOcoiWfnGzjdPc= X-Gm-Gg: AfdE7cnP0pSolM0LTqljzUaXMWoWBc7sz5RPzNW0kBVGTj9bmmRFppxhrWUwfWh8mF2 RFHZGq6+SBDWn21Cqb7esHhuKIXGQAxgbk+g+LrvxrznmltYmNRJjlM+LW3s8UaxbCqfqWXrK2R 59D2V1amX0zHANoh3XUYj0ZKGVupAnf3SPaxzp1o2qEXGg5cRueRw2N9x3rWIEJqYPEzbKvgonx HRTCM7QvHPiDQ4z/cYR/SNthrUf7f7dV/fbZ0DNsB+rpLb/Q+yLO3xqOW0oedzcZpXl6MD95Aso +Blu4WiVMEco3Aj7+3L0fh1VXxh6Vp+EogQjQKTBUtDG4LOUtcg8N8MBb0hLITDsWEDKrnj+m0w VjLQLyEsGoN3Tr1RVshLjU8rqueKdVULNzIOPLLQPwkQcPVoyU2Wlpkzx2KwX 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-rdma@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