Skip to contentSkip to conversation

Q: x86 suspend/hibernation code consolidation

DISCUSSION Rafael J. Wysocki 4 participants 13 messages Jan 26, 2008 – Jan 28, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

When is the right time for making changes like that?

Rafael

#1 lore raw
Quoted 10 lines · Rafael J. Wysocki

Hi,

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

When is the right time for making changes like that?

Rafael

In Cambridge, when we discussed cleanups that touch a lot of files but have no functional change -- somebody suggested that right after rc1 closes is a good time. The reasoning was that they would not conflict with the functional changes in rc1.

However, I recall Linus saying something about "Andrew is special" WRT permission to push cleanups after the rc1 window; so I don't know what the final ruling was -- if there was such a ruling.

-Len

#2 lore raw
In reply to Rafael J. Wysocki
Quoted 10 lines · Rafael J. Wysocki

Hi,

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

When is the right time for making changes like that?

Rafael

In Cambridge, when we discussed cleanups that touch a lot of files but have no functional change -- somebody suggested that right after rc1 closes is a good time. The reasoning was that they would not conflict with the functional changes in rc1.

However, I recall Linus saying something about "Andrew is special" WRT permission to push cleanups after the rc1 window; so I don't know what the final ruling was -- if there was such a ruling.

-Len

#3 lore raw
Quoted 12 lines · Len Brown
Quoted 10 lines · Rafael J. Wysocki

Hi,

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

When is the right time for making changes like that?

Rafael

Quoted 8 lines

In Cambridge, when we discussed cleanups that touch a lot of files but have no functional change -- somebody suggested that right after rc1 closes is a good time. The reasoning was that they would not conflict with the functional changes in rc1.

However, I recall Linus saying something about "Andrew is special" WRT permission to push cleanups after the rc1 window; so I don't know what the final ruling was -- if there was such a ruling.

Well, I don't think there was a ruling, but perhaps sneaking it into -mm after -rc1 would do the trick. ;-)

Rafael

#4 lore raw
In reply to Len Brown
Quoted 12 lines · Len Brown
Quoted 10 lines · Rafael J. Wysocki

Hi,

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

When is the right time for making changes like that?

Rafael

Quoted 8 lines

In Cambridge, when we discussed cleanups that touch a lot of files but have no functional change -- somebody suggested that right after rc1 closes is a good time. The reasoning was that they would not conflict with the functional changes in rc1.

However, I recall Linus saying something about "Andrew is special" WRT permission to push cleanups after the rc1 window; so I don't know what the final ruling was -- if there was such a ruling.

Well, I don't think there was a ruling, but perhaps sneaking it into -mm after -rc1 would do the trick. ;-)

Rafael

#5 lore raw
In reply to Rafael J. Wysocki

Hi!

Quoted 4 lines

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

I have similar patch producing hibernation_*.S, I can send it as a base. Moving it soon would be nice :-).

As I'm in process of rewriting arch/x86/kernel/acpi/ , I'd prefer that not to be moved from under me.
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#6 lore raw
In reply to Rafael J. Wysocki

Hi!

Quoted 4 lines

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

I have similar patch producing hibernation_*.S, I can send it as a base. Moving it soon would be nice :-).

As I'm in process of rewriting arch/x86/kernel/acpi/ , I'd prefer that not to be moved from under me.
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#7 lore raw
Quoted 9 lines · Pavel Machek

Hi!

Quoted 4 lines

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

I have similar patch producing hibernation_*.S, I can send it as a base.

Well, it probably will have to be rebased anyway. That's the problem: what to base it on to avoid conflicts.

Quoted 1 line

Moving it soon would be nice :-).

Yes, but I'm afraid not earlier than after the ACPI suspend tree is merged.

Quoted 2 lines

As I'm in process of rewriting arch/x86/kernel/acpi/ , I'd prefer that not to be moved from under me.

I'm not going to touch that now. :-)

Greetings,
Rafael

#8 lore raw
In reply to Pavel Machek
Quoted 9 lines · Pavel Machek

Hi!

Quoted 4 lines

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

I have similar patch producing hibernation_*.S, I can send it as a base.

Well, it probably will have to be rebased anyway. That's the problem: what to base it on to avoid conflicts.

Quoted 1 line

Moving it soon would be nice :-).

Yes, but I'm afraid not earlier than after the ACPI suspend tree is merged.

Quoted 2 lines

As I'm in process of rewriting arch/x86/kernel/acpi/ , I'd prefer that not to be moved from under me.

I'm not going to touch that now. :-)

Greetings,
Rafael

#9 lore raw
In reply to Rafael J. Wysocki
Quoted 5 lines · Rafael J. Wysocki

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

nice cleanup.

Quoted 1 line

When is the right time for making changes like that?

best would be after the x86.git merge. We could push this via x86.git in fact, to line it up with whatever other changes there might be. -mm would be fine too, if there are pending patches in this area in -mm. (and i recall you did some global-scope suspend/resume changes that might interfere?)

Ingo

#10 lore raw
In reply to Rafael J. Wysocki
Quoted 5 lines · Rafael J. Wysocki

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

nice cleanup.

Quoted 1 line

When is the right time for making changes like that?

best would be after the x86.git merge. We could push this via x86.git in fact, to line it up with whatever other changes there might be. -mm would be fine too, if there are pending patches in this area in -mm. (and i recall you did some global-scope suspend/resume changes that might interfere?)

Ingo

#11 lore raw
Quoted 9 lines · Ingo Molnar
Quoted 5 lines · Rafael J. Wysocki

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

Quoted 7 lines

nice cleanup.

Quoted 1 line

When is the right time for making changes like that?

best would be after the x86.git merge. We could push this via x86.git in fact, to line it up with whatever other changes there might be. -mm would be fine too, if there are pending patches in this area in -mm.

There is one patch in acpi.git, AFAICS, so I guess I'd have to wait for both x86.git and acpi.git with that, which means -rc1 time frame more or less.

Quoted 2 lines

(and i recall you did some global-scope suspend/resume changes that might interfere?)

Some of them are in acpi.git and some have been merged already.

Thanks,
Rafael

#12 lore raw
In reply to Ingo Molnar
Quoted 9 lines · Ingo Molnar
Quoted 5 lines · Rafael J. Wysocki

I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question.

Quoted 7 lines

nice cleanup.

Quoted 1 line

When is the right time for making changes like that?

best would be after the x86.git merge. We could push this via x86.git in fact, to line it up with whatever other changes there might be. -mm would be fine too, if there are pending patches in this area in -mm.

There is one patch in acpi.git, AFAICS, so I guess I'd have to wait for both x86.git and acpi.git with that, which means -rc1 time frame more or less.

Quoted 2 lines

(and i recall you did some global-scope suspend/resume changes that might interfere?)

Some of them are in acpi.git and some have been merged already.

Thanks,
Rafael