X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=Documentation%2Fnetworking%2Fpacket_mmap.txt;h=5a232d946be39fd425c1f9b6c5e821b902b2d465;hb=ae8433324be16673c75951986dcf85f29c090557;hp=a87d4a8b395481aeba6638d1b78ca3396debbffa;hpb=2fe0ae78c6975d6fa2fc0c84f2b8944543054105;p=powerpc.git diff --git a/Documentation/networking/packet_mmap.txt b/Documentation/networking/packet_mmap.txt index a87d4a8b39..5a232d946b 100644 --- a/Documentation/networking/packet_mmap.txt +++ b/Documentation/networking/packet_mmap.txt @@ -278,13 +278,13 @@ an i386 kernel's memory size is limited to 1GiB. All memory allocations are not freed until the socket is closed. The memory allocations are done with GFP_KERNEL priority, this basically means that the allocation can wait and swap other process' memory in order to allocate -the nececessary memory, so normally limits can be reached. +the necessary memory, so normally limits can be reached. Other constraints ------------------- If you check the source code you will see that what I draw here as a frame -is not only the link level frame. At the begining of each frame there is a +is not only the link level frame. At the beginning of each frame there is a header called struct tpacket_hdr used in PACKET_MMAP to hold link level's frame meta information like timestamp. So what we draw here a frame it's really the following (from include/linux/if_packet.h):