[PATCH 2/2] ofnet: implement a receive buffer

2016-04-12 Thread Stanislav Kholmanskikh
get_card_packet() from ofnet.c allocates a netbuff based on the device's MTU: nb = grub_netbuff_alloc (dev->mtu + 64 + 2); In the case when the MTU is large, and the received packet is relatively small, this leads to allocation of significantly more memory, than it's required. An example could

[PATCH 1/2] ieee1275: alloc-mem and free-mem

2016-04-12 Thread Stanislav Kholmanskikh
Add wrappers for memory allocation using alloc-mem and free-mem commands from the User Interface. Signed-off-by: Stanislav Kholmanskikh --- grub-core/kern/ieee1275/openfw.c | 68 ++ include/grub/ieee1275/ieee1275.h |2 + 2 files changed, 70 insertions(+)

Re: Bugs and tasks for 2.02[~rc1]

2016-04-12 Thread Konrad Rzeszutek Wilk
On Mon, Mar 28, 2016 at 10:59:03AM -0400, Konrad Rzeszutek Wilk wrote: > ..snip.. > > What about > > > > - disk IO buffer alignment for small read (I personally prefer the first > > version of Leif's patch that exposes alignment in core, it also allows > > us to print it in ls output) > > > > - F

Re: Bugs and tasks for 2.02[~rc1]

2016-04-12 Thread Bruce Dubbs
Vladimir 'phcoder' Serbinenko wrote: Hello, all. I went through the list of bugs and created a shortlist of bugs that need to be looked at for 2.02. I have marked them with plan_release_id set to 2.02. [snip] I would like to come up with a complete list of 2.02 blockers in one week time, so t