Re: With Daniel Phillips Patch

David S. Miller (davem@redhat.com)
Wed, 22 Aug 2001 16:09:44 -0700 (PDT)


From: "Justin T. Gibbs" <gibbs@scsiguy.com>
Date: Wed, 22 Aug 2001 15:40:30 -0600

I've started looking through the network devices for bloat caused
by the change in size of this type and I haven't found it anywhere.

Consider network drivers (most PCI ones) that keep track of:

struct sk_buff *skb;
dma_addr_t mapping;

pairs for each transmit packet. With your suggested change,
their structures will increase 32-bits in size for each entry
when CONFIG_HIGHMEM on x86 or on a 64-bit platform.

I mean, just grep for dma_addr_t in structures of these networking
drivers to see where the wasted space would be.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/