From: Bob Pearson <rpearsonhpe@gmail.com> To: Jason Gunthorpe <jgg@nvidia.com>, linux-rdma@vger.kernel.org Subject: Re: dynamic-sg patch has broken rdma_rxe Date: Tue, 13 Oct 2020 11:34:29 -0500 Message-ID: <06d6710b-f05e-e370-2acb-68f88040948e@gmail.com> (raw) In-Reply-To: <0fdfc60e-ea93-8cf2-b23a-ce5d07d5fe33@gmail.com> On 10/13/20 9:33 AM, Bob Pearson wrote: > Jason, > > Just pulled for-next and now hit the following warning. > Register user space memory is not longer working. > I am trying to debug this but if you have any idea where to look let me know. > > Bob > > [ 209.562096] WARNING: CPU: 12 PID: 5343 at lib/scatterlist.c:438 __sg_alloc_table_from_pages+0x21/0x440 SNIP > I found it. The rxe driver had set the max_segment_size to UINT_MAX (0xffffffff) which triggered the warning since it has an 'offset into page' in __sg_alloc_table_from_pages. Can you tell me what this parameter is supposed to do and what is a reasonable value. What scares me is that the default used in ib_umem_get is 64K. Does this have anything to do with the largest SGL size or is it something else. Bob
next prev parent reply index Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-13 14:33 Bob Pearson 2020-10-13 16:34 ` Bob Pearson [this message] 2020-10-14 22:51 ` Jason Gunthorpe 2020-10-15 7:44 ` Maor Gottlieb 2020-10-15 11:23 ` Gal Pressman 2020-10-15 12:21 ` Maor Gottlieb 2020-10-16 0:31 ` Jason Gunthorpe 2020-10-16 7:13 ` Christoph Hellwig [not found] ` <796ca31aed8f469c957cb850385b9d09@intel.com> 2020-10-16 11:58 ` Jason Gunthorpe 2020-10-19 9:50 ` Tvrtko Ursulin 2020-10-19 12:12 ` Jason Gunthorpe 2020-10-19 12:29 ` Tvrtko Ursulin 2020-10-19 12:48 ` Jason Gunthorpe 2020-10-20 11:37 ` Tvrtko Ursulin 2020-10-20 11:47 ` Jason Gunthorpe 2020-10-20 12:31 ` Tvrtko Ursulin 2020-10-20 12:56 ` Jason Gunthorpe 2020-10-20 13:09 ` Tvrtko Ursulin 2020-10-20 13:32 ` Jason Gunthorpe 2020-10-15 15:35 ` Bob Pearson
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=06d6710b-f05e-e370-2acb-68f88040948e@gmail.com \ --to=rpearsonhpe@gmail.com \ --cc=jgg@nvidia.com \ --cc=linux-rdma@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Linux-RDMA Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/linux-rdma/0 linux-rdma/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 linux-rdma linux-rdma/ https://lore.kernel.org/linux-rdma \ linux-rdma@vger.kernel.org public-inbox-index linux-rdma Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rdma AGPL code for this site: git clone https://public-inbox.org/public-inbox.git