[PATCH v2 2/2] kexec_file: Increase maximum file size to 4G

2022-05-26 Thread Pasha Tatashin
In some case initrd can be large. For example, it could be a netboot image loaded by u-root, that is kexec'ing into it. The maximum size of initrd is arbitrary set to 2G. Also, the limit is not very obvious because it is hidden behind a generic INT_MAX macro. Theoretically, we could make it LONG_

Re: [PATCH v2 2/2] kexec_file: Increase maximum file size to 4G

2022-06-05 Thread Baoquan He
On 05/27/22 at 02:55am, Pasha Tatashin wrote: > In some case initrd can be large. For example, it could be a netboot > image loaded by u-root, that is kexec'ing into it. > > The maximum size of initrd is arbitrary set to 2G. Also, the limit is > not very obvious because it is hidden behind a gener

Re: [PATCH v2 2/2] kexec_file: Increase maximum file size to 4G

2022-06-07 Thread Pasha Tatashin
On Sun, Jun 5, 2022 at 10:56 PM Baoquan He wrote: > > On 05/27/22 at 02:55am, Pasha Tatashin wrote: > > In some case initrd can be large. For example, it could be a netboot > > image loaded by u-root, that is kexec'ing into it. > > > > The maximum size of initrd is arbitrary set to 2G. Also, the l

Re: [PATCH v2 2/2] kexec_file: Increase maximum file size to 4G

2022-06-07 Thread Baoquan He
On 06/07/22 at 12:02pm, Pasha Tatashin wrote: > On Sun, Jun 5, 2022 at 10:56 PM Baoquan He wrote: > > > > On 05/27/22 at 02:55am, Pasha Tatashin wrote: > > > In some case initrd can be large. For example, it could be a netboot > > > image loaded by u-root, that is kexec'ing into it. > > > > > > Th