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