Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rebootless kernel upgrades
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2541
Location: Near Toronto

PostPosted: Tue May 05, 2015 11:30 pm    Post subject: rebootless kernel upgrades Reply with quote

Hi all - I heard somewhere that with kernal version >=4 you
can upgrade the kernel without rebooting.

That sounds like fun but I have no idea how it works. Any
pointers?

TIA>
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue May 05, 2015 11:44 pm    Post subject: Reply with quote

My understanding is that only specially prepared kernel patches can be applied to the running kernel. So if the severity warrants it, select critical bug fixes can be made available against a released kernel, but no generic "switch kernels without rebooting" capability exists, nor is it likely to any time soon.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2541
Location: Near Toronto

PostPosted: Wed May 06, 2015 12:07 pm    Post subject: Reply with quote

thanks for the clarification; it did sound like magic :)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Thu May 07, 2015 12:56 am    Post subject: Reply with quote

Isn't kexec able to do that? https://en.wikipedia.org/wiki/Kexec
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri May 22, 2015 7:26 pm    Post subject: Reply with quote

Sorry, krinn; I somehow missed this question. kexec can best be described as "fast reboot"; it does not replace the running kernel while retaining state (open files, running programs, etc.).

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum