Project

General

Profile

Actions

Feature #12187

closed

loader: allocate properly aligned buffer for network packet

Added by Toomas Soome almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Use memalign(4, size) to ensure we have properly aligned buffer.

Testing done:

With efi loader and NFS root, the load time for master versus 12187 branch: 107 versus 104 sec.

Actions #1

Updated by Toomas Soome almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by Toomas Soome almost 2 years ago

  • Tracker changed from Bug to Feature
  • Status changed from In Progress to Closed

libstand malloc does provide aligned allocations.

Actions

Also available in: Atom PDF