Re: [PATCH v2 10/10] binfmt_flat: allow compressed flat binary format to work on MMU systems

2016-07-18 Thread Nicolas Pitre
On Mon, 18 Jul 2016, One Thousand Gnomes wrote: > On Mon, 18 Jul 2016 11:45:53 -0400 (EDT) > Nicolas Pitre wrote: > > > On Mon, 18 Jul 2016, One Thousand Gnomes wrote: > > > > > On Sun, 17 Jul 2016 23:31:56 -0400 > > > Nicolas Pitre wrote: > > > > > > > Let's take the simple and obvious app

Re: [PATCH v2 10/10] binfmt_flat: allow compressed flat binary format to work on MMU systems

2016-07-18 Thread One Thousand Gnomes
On Mon, 18 Jul 2016 11:45:53 -0400 (EDT) Nicolas Pitre wrote: > On Mon, 18 Jul 2016, One Thousand Gnomes wrote: > > > On Sun, 17 Jul 2016 23:31:56 -0400 > > Nicolas Pitre wrote: > > > > > Let's take the simple and obvious approach by decompressing the binary > > > into a kernel buffer and th

Re: [PATCH v2 10/10] binfmt_flat: allow compressed flat binary format to work on MMU systems

2016-07-18 Thread Nicolas Pitre
On Mon, 18 Jul 2016, One Thousand Gnomes wrote: > On Sun, 17 Jul 2016 23:31:56 -0400 > Nicolas Pitre wrote: > > > Let's take the simple and obvious approach by decompressing the binary > > into a kernel buffer and then copying it to user space. Those who are > > looking for more performance on

Re: [PATCH v2 10/10] binfmt_flat: allow compressed flat binary format to work on MMU systems

2016-07-18 Thread One Thousand Gnomes
On Sun, 17 Jul 2016 23:31:56 -0400 Nicolas Pitre wrote: > Let's take the simple and obvious approach by decompressing the binary > into a kernel buffer and then copying it to user space. Those who are > looking for more performance on a MMU system are unlikely to choose this > executable format

[PATCH v2 10/10] binfmt_flat: allow compressed flat binary format to work on MMU systems

2016-07-17 Thread Nicolas Pitre
Let's take the simple and obvious approach by decompressing the binary into a kernel buffer and then copying it to user space. Those who are looking for more performance on a MMU system are unlikely to choose this executable format anyway. Signed-off-by: Nicolas Pitre --- fs/binfmt_flat.c | 44