Skip to contentSkip to conversation

new -xen.c files in sparse tree

DISCUSSION Jan Beulich 3 participants 5 messages Feb 8, 2007 – Feb 10, 2007

lore
Share & tools
lore
#0 lore raw

What is the purpose of adding arch/i386/kernel/alternative-xen.c, when the delta to native is a single line?

Even more funny - arch/i386/kernel/intel_cacheinfo-xen.c doesn't show any difference to native...

Shouldn't we try to reduce the number of such files, to ease maintaining them?

Jan

#1 lore raw

Empty files can certainly be removed. Where there's any diff at all, it's a matter of taste whether we have separate files or ifdef XEN.

-- Keir

Quoted 14 lines · Jan Beulich

What is the purpose of adding arch/i386/kernel/alternative-xen.c, when the delta to native is a single line?

Even more funny - arch/i386/kernel/intel_cacheinfo-xen.c doesn't show any difference to native...

Shouldn't we try to reduce the number of such files, to ease maintaining them?

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 2 lines · Keir Fraser

Empty files can certainly be removed. Where there's any diff at all, it's a matter of taste whether we have separate files or ifdef XEN.

IMHO there are two many ways of cooking this egg.

Patch vs Sparse + ifdef XEN vs separate file

Finding the code can be kind of tricky,
and working out the best way to implement a change seems to be a black art.

Can't this be simplified?

(I'll refrain from saxing axe sparse... oops, I didn't)

Signature · 3 lines
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/
#3 lore raw
Quoted 10 lines · Horms

IMHO there are two many ways of cooking this egg.

Patch vs Sparse + ifdef XEN vs separate file

Finding the code can be kind of tricky,
and working out the best way to implement a change seems to be a black art.

Can't this be simplified?

(I'll refrain from saxing axe sparse... oops, I didn't)

Getting rid of the Linux tree from xen-unstable, and maintaining a full Linux repo in its place, is still planned for the next release.

-- Keir

#4 lore raw
Quoted 12 lines · Keir Fraser
Quoted 7 lines · Horms

IMHO there are two many ways of cooking this egg.

Patch vs Sparse + ifdef XEN vs separate file

Finding the code can be kind of tricky,
and working out the best way to implement a change seems to be a black art.

Quoted 6 lines
Quoted 3 lines

Can't this be simplified?

(I'll refrain from saxing axe sparse... oops, I didn't)

Getting rid of the Linux tree from xen-unstable, and maintaining a full Linux repo in its place, is still planned for the next release.

Great.

Signature · 3 lines
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/