|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfa
To: |
"Luck, Tony" <tony.luck@xxxxxxxxx> |
Subject: |
RE: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths" |
From: |
"Tian, Kevin" <kevin.tian@xxxxxxxxx> |
Date: |
Wed, 23 Nov 2005 10:52:55 +0800 |
Cc: |
djm@xxxxxxxxxxxxxxx, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Tony Breeds <tony@xxxxxxxxxxxxxxxxxx> |
Delivery-date: |
Wed, 23 Nov 2005 02:53:03 +0000 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcXvf3g5OhVh9pE/SR6JyHrOV4V4/wAWE/Ow |
Thread-topic: |
[Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths" |
>From: Luck, Tony
>Sent: 2005年11月23日 0:11
>This comment:
>> /*
>> * The "aligned" directive can only _increase_ alignment, so this is
>> * safe and provides an easy way to avoid wasting space on a
>> * uni-processor:
>> */
>suggests that we only expected SMP_CACHE_BYTES to be used in "aligned"
>directives, where having a smaller value than the actual alignment
>requirement of some object would simply be ignored by the compiler.
Understand. ;-)
>
>How much is this trick saving us? Static size of data area in
>vmlinux doesn't change very much as SMP_CACHE_BYTES is varied:
>
> text data bss dec hex filename
>8677481 1139704 1206357 11023542 a834b6 vmlinux-8
>8677417 1141808 1206397 11025622 a83cd6 vmlinux-16
>8677417 1146000 1206477 11029894 a84d86 vmlinux-32
>8677353 1146256 1206573 11030182 a84ea6 vmlinux-64
>8677353 1163152 1207085 11047590 a892a6 vmlinux-128
>
>I'm not sure how to evaluate dynamic behavior (allocation of
>structures whose size is dependent on SMP_CACHE_BYTES at
>runtime).
>
>-Tony
>-
So maybe we can simply remove the UP specific size definition and give both
cases to actual cache line size.
Thanks,
Kevin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths", Tian, Kevin
- RE: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths",
Tian, Kevin <=
- RE: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths", Tian, Kevin
- RE: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths", Magenheimer, Dan (HP Labs Fort Collins)
- RE: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths", Luck, Tony
- RE: [Xen-devel] __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths", Luck, Tony
|
|
|
|
|