Skip to contentSkip to conversation

kexec: Export kexec_in_progress

PATCH Superseded Brian King 2 participants 5 messages Jul 28, 2014 – Sep 2, 2014

Subsystems (4)
lore
Share & tools
lore

Brian King

author
#0 lore raw

PATCH 2/5 kexec: Export kexec_in_progress

Export kexec_in_progress for use by device drivers and other modules to optimize kexec boot.

---

 kernel/kexec.c |    2 ++
 1 file changed, 2 insertions(+)
kernel/kexec.c renamed from kernel/kexec.c~kexec_export_in_prog +2 -0
diff -puN kernel/kexec.c~kexec_export_in_prog kernel/kexec.c
@@ -1716,3 +1716,5 @@ int kernel_kexec(void)
 	mutex_unlock(&kexec_mutex);
 	return error;
 }
+
+EXPORT_SYMBOL_GPL(kexec_in_progress);

_

author
#1 lore raw
Quoted 14 lines · Brian King

Export kexec_in_progress for use by device drivers and other modules to optimize kexec boot.

---

 kernel/kexec.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN kernel/kexec.c~kexec_export_in_prog kernel/kexec.c

kernel/kexec.c int kernel_kexec(void) · line 1720

Quoted 5 lines
kernel/kexec.c renamed from kernel/kexec.c~kexec_export_in_prog +2 -0
@@ -1716,3 +1716,5 @@ int kernel_kexec(void)
 	mutex_unlock(&kexec_mutex);
 	return error;
 }
+
+EXPORT_SYMBOL_GPL(kexec_in_progress);

Eric,

Can I get an ack on this so we can take this entire series through the SCSI tree?

Thanks!

Brian

author
#2 lore raw
Quoted 23 lines · Brian King
Quoted 14 lines · Brian King

Export kexec_in_progress for use by device drivers and other modules to optimize kexec boot.

---

 kernel/kexec.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN kernel/kexec.c~kexec_export_in_prog kernel/kexec.c

kernel/kexec.c int kernel_kexec(void) · line 1720

Quoted 5 lines
kernel/kexec.c renamed from kernel/kexec.c~kexec_export_in_prog +2 -0
@@ -1716,3 +1716,5 @@ int kernel_kexec(void)
 	mutex_unlock(&kexec_mutex);
 	return error;
 }
+
+EXPORT_SYMBOL_GPL(kexec_in_progress);

Eric,

Quoted 1 line

Can I get an ack on this so we can take this entire series through the SCSI tree?

Eric,

Any issues with this patch?

Thanks,

Brian

#3 lore raw
Quoted 24 lines · Brian King
Quoted 23 lines · Brian King
Quoted 14 lines · Brian King

Export kexec_in_progress for use by device drivers and other modules to optimize kexec boot.

---

 kernel/kexec.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN kernel/kexec.c~kexec_export_in_prog kernel/kexec.c

kernel/kexec.c int kernel_kexec(void) · line 1720

Quoted 5 lines
kernel/kexec.c renamed from kernel/kexec.c~kexec_export_in_prog +2 -0
@@ -1716,3 +1716,5 @@ int kernel_kexec(void)
 	mutex_unlock(&kexec_mutex);
 	return error;
 }
+
+EXPORT_SYMBOL_GPL(kexec_in_progress);

Eric,

Quoted 5 lines
Quoted 1 line

Can I get an ack on this so we can take this entire series through the SCSI tree?

Eric,

Any issues with this patch?

No huge issues except that patch description is largely uniformitive and actually wrong. kexec_in_progress is never set at boot/kernel startup.

Eric

author
#4 lore raw
Quoted 26 lines · Eric W. Biederman
Quoted 24 lines · Brian King
Quoted 23 lines · Brian King
Quoted 14 lines · Brian King

Export kexec_in_progress for use by device drivers and other modules to optimize kexec boot.

---

 kernel/kexec.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN kernel/kexec.c~kexec_export_in_prog kernel/kexec.c

kernel/kexec.c int kernel_kexec(void) · line 1720

Quoted 5 lines
kernel/kexec.c renamed from kernel/kexec.c~kexec_export_in_prog +2 -0
@@ -1716,3 +1716,5 @@ int kernel_kexec(void)
 	mutex_unlock(&kexec_mutex);
 	return error;
 }
+
+EXPORT_SYMBOL_GPL(kexec_in_progress);

Eric,

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Can I get an ack on this so we can take this entire series through the SCSI tree?

Eric,

Any issues with this patch?

No huge issues except that patch description is largely uniformitive and actually wrong. kexec_in_progress is never set at boot/kernel startup.

Good point. How about this instead:

Export kexec_in_progress for use by device drivers and other modules to optimize shutdown handling during kexec.

Thanks,

Brian

Signature · 3 lines
Brian King
Power Linux I/O
IBM Linux Technology Center