> On Nov 10, 2023, at 1:28 AM, Tomoaki AOKI wrote:
>
> On Fri, 10 Nov 2023 00:10:13 +0800
> Zhenlei Huang wrote:
>
>> Hi,
>>
>> This is *NOT* joking.
>>
>> While working on https://reviews.freebsd.org/D42527 I realized the
>> module kernel also has userrefs, that is to say, userland can re
> On Nov 10, 2023, at 1:03 AM, Warner Losh wrote:
>
> Yea. Kexec is what you'd need to do to get a new kernel... and we don't
> support kexec... so I agree this is good..
If we ever want to support kexec, a new kernel should be loaded into memory
before the old one is unloaded.
Then probably
On Fri, 10 Nov 2023 00:10:13 +0800
Zhenlei Huang wrote:
> Hi,
>
> This is *NOT* joking.
>
> While working on https://reviews.freebsd.org/D42527 I realized the
> module kernel also has userrefs, that is to say, userland can request
> to unload kernel, aka `kldunload kernel`.
>
> This is interes
Yea. Kexec is what you'd need to do to get a new kernel... and we don't
support kexec... so I agree this is good..
Warner
On Thu, Nov 9, 2023, 9:34 AM Doug Rabson wrote:
> I think your intuition is correct - it never makes sense to unload the
> kernel (IMO). I approved the review.
>
> Doug.
>
>
I think your intuition is correct - it never makes sense to unload the
kernel (IMO). I approved the review.
Doug.
On Thu, 9 Nov 2023 at 16:10, Zhenlei Huang wrote:
> Hi,
>
> This is *NOT* joking.
>
> While working on https://reviews.freebsd.org/D42527 I realized the
> module kernel also has us
Hi,
This is *NOT* joking.
While working on https://reviews.freebsd.org/D42527 I realized the
module kernel also has userrefs, that is to say, userland can request
to unload kernel, aka `kldunload kernel`.
This is interesting. Well no doubt that the loader can unload kernel.
Then after the kernel