On 03/13/2013 12:35 AM, Matt Fleming wrote:
I think using what we have is good enough for this. I'll verify
boot time tomorrow.
That would be great, thank you.
On a Windows 8 logo desktop with 91 variables, the average time (30 runs
each) of variable iteration goes from 0.009672 second to 0.010180 second
(+0.000508 second, or +5%). Negligible.
status = EFI_NOT_FOUND here doesn't seem to do anything.
It terminates the enclosing do-while loop.
Oops, my brain fart.
By the way, efivar_update_sysfs_entries from Seiji's sysfs workqueue
patch may also get stuck in loop in the same way.
You mean if GetNextVariableName() never terminates? Yeah,
efivar_update_sysfs_entries() looks like it needs protecting from that
too, good catch.
Yes that's what I meant.
Lingzhu Xiang
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html