On Nov 30, 2011, at 2:18 PM, Michael Richardson wrote: > I was under the impression that some of hte ring-buffer mechanisms need > packets to be aligned on MMU-sized boundaries so that the kernel can > play page-swapping games, rather than copying data.
I don't think it does page-flipping - it just maps the whole thing when it starts up - and it allocates real (wired-down) pages to back the address space. It allocates a bunch of contiguous pages, which is why they're aligned on page boundaries.- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
