Skip to contentSkip to conversation

various small improvements and cleanup

RFC PATCH In review Jan Beulich 2 participants 6 messages Dec 22, 2010

lore
Share & tools
lore
#0 lore raw

cover various small improvements and cleanup

This patch set is only loosely connected (with the exception of the first two patches and some ordering dependencies to apply cleanly), and is known to apply only to c/s 22467. I'm posting in the hope to get eventual review comments in order to then possibly do a re-submission once the large set of changes currently pending in the staging tree passed regression testing.

Patch 1/5: make sort() generally available
Patch 2/5: x86-64: use PC-relative exception table entries Patch 3/5: x86: link time .data section adjustments Patch 4/5: x86: avoid unlikely taken forward branches Patch 5/5: use bool_t for various boolean variables

#1 lore raw

Yes, these all look fine to me. Actually I'm not sure whether we really need a general-purpose sort (patch 1/5). But I suppose we could use it in places like extable.c, so we might as well have it.

-- Keir

Quoted 20 lines · Jan Beulich

This patch set is only loosely connected (with the exception of the first two patches and some ordering dependencies to apply cleanly), and is known to apply only to c/s 22467. I'm posting in the hope to get eventual review comments in order to then possibly do a re-submission once the large set of changes currently pending in the staging tree passed regression testing.

Patch 1/5: make sort() generally available
Patch 2/5: x86-64: use PC-relative exception table entries Patch 3/5: x86: link time .data section adjustments Patch 4/5: x86: avoid unlikely taken forward branches Patch 5/5: use bool_t for various boolean variables

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

#2 lore raw
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Keir Fraser

Yes, these all look fine to me. Actually I'm not sure whether we really need a general-purpose sort (patch 1/5). But I suppose we could use it in places like extable.c, so we might as well have it.

That's where it gets used (in patch 2).

Jan

Quoted 22 lines · Jan Beulich
Quoted 21 lines

This patch set is only loosely connected (with the exception of the first two patches and some ordering dependencies to apply cleanly), and is known to apply only to c/s 22467. I'm posting in the hope to get eventual review comments in order to then possibly do a re-submission once the large set of changes currently pending in the staging tree passed regression testing.

Patch 1/5: make sort() generally available
Patch 2/5: x86-64: use PC-relative exception table entries Patch 3/5: x86: link time .data section adjustments Patch 4/5: x86: avoid unlikely taken forward branches Patch 5/5: use bool_t for various boolean variables

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

#3 lore raw
Quoted 6 lines · Jan Beulich
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Keir Fraser

Yes, these all look fine to me. Actually I'm not sure whether we really need a general-purpose sort (patch 1/5). But I suppose we could use it in places like extable.c, so we might as well have it.

That's where it gets used (in patch 2).

Ah yes. Put that bit in a separate patch.

-- Keir

Quoted 27 lines

Jan

Quoted 22 lines · Jan Beulich
Quoted 21 lines

This patch set is only loosely connected (with the exception of the first two patches and some ordering dependencies to apply cleanly), and is known to apply only to c/s 22467. I'm posting in the hope to get eventual review comments in order to then possibly do a re-submission once the large set of changes currently pending in the staging tree passed regression testing.

Patch 1/5: make sort() generally available
Patch 2/5: x86-64: use PC-relative exception table entries Patch 3/5: x86: link time .data section adjustments Patch 4/5: x86: avoid unlikely taken forward branches Patch 5/5: use bool_t for various boolean variables

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

#4 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line · Keir Fraser
Quoted 6 lines · Jan Beulich
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Keir Fraser

Yes, these all look fine to me. Actually I'm not sure whether we really need a general-purpose sort (patch 1/5). But I suppose we could use it in places like extable.c, so we might as well have it.

That's where it gets used (in patch 2).

Ah yes. Put that bit in a separate patch.

Using the general purpose sort is a requirement for the change to PC-relative exception table entries. Or do you mean you want the macro-ization split from the actual layout change?

Jan

#5 lore raw
Quoted 5 lines · Jan Beulich
Quoted 1 line

Ah yes. Put that bit in a separate patch.

Using the general purpose sort is a requirement for the change to PC-relative exception table entries. Or do you mean you want the macro-ization split from the actual layout change?

I thought switching sort method was a logically separate change and could go in a separate patch. If not it doesn't matter that much.

-- Keir