On Wed, Jun 22, 2016 at 4:29 PM, Sagi Grimberg <sagi@xxxxxxxxxxx> wrote: > >>> Ensure the MR's PBL array never occupies the last 8 bytes of a page. >>> This eliminates random "Local Protection Error" flushes when SLUB >>> debugging is enabled. >>> >>> Fixes: 1b2cd0fc673c ('IB/mlx4: Support the new memory registration API') >> >> >> Can't the driver advertize smaller quantity for what's occupies later >> those last eight bytes (255 or 511 of >> attr XX instead of 256 or 512)? > Not sure I understand your question. Are you suggesting that the driver > would expose that it's capable of 256 pages per MR? I am asking if we can advertize something else what would cause not to fall into the last eight bytes on a page, e.g if we fall there since we advertize for some attr N, lets advertize N-1 just asking -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html