[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] disk: Add support for device-specific malloc function
From: |
Andrei Borzenkov |
Subject: |
Re: [PATCH 1/2] disk: Add support for device-specific malloc function |
Date: |
Wed, 24 Feb 2016 20:40:55 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
24.02.2016 16:57, Leif Lindholm пишет:
> On Wed, Feb 24, 2016 at 03:09:13PM +0300, Andrei Borzenkov wrote:
>>>> Could you test attached patch with your alignment fixes on top. This
>>>> implements my idea of using shared buffers. Seems to work in naive testing.
>>>
>>> Testing this with a grub-mkstandalone image, I get:
>>>
>>> kern/dl.c:556: flushing 0x10f1 bytes at 0x9ffb5ac20
>>> kern/dl.c:649: module name: tar
>>> kern/dl.c:650: init function: 0x9ffb5b220
>>> kern/disk.c:217: Opening `memdisk'...
>>> kern/fs.c:56: Detecting tarfs...
>>>
>>> And then spectacular crash in UEFI due to an EL2 translation fault.
>>
>> To be sure - is it with my patch alone or with your patches? If some
>> more patches are used - could you send exact diff to trunk to avoid
>> misunderstanding?
>
> Double checked with only your patch on top of
> 1b782e902e69516f82158203674d4951a40c82d4 (previously running with
> _only_ my alignment fixup in efidisk.c). Same behaviour.
I cannot reproduce it on x86_64 (also with mm-debug enabled) and I do
not know how to load standalone image on ppc; is it possible to use QEMU
to run ARM64 (I assume you have it)? If not what are options to test it?
Anyway, there was one problem I fixed later (although I did not get any
issue before as well), I attach updated version. Thank you for testing!
disk-direct-cache-read-v2.patch
Description: Text Data
- [PATCH 0/2] Alternative efidisk alignment resolution, Leif Lindholm, 2016/02/19
- [PATCH 1/2] disk: Add support for device-specific malloc function, Leif Lindholm, 2016/02/19
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Andrei Borzenkov, 2016/02/22
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Leif Lindholm, 2016/02/22
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Andrei Borzenkov, 2016/02/22
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Leif Lindholm, 2016/02/24
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Andrei Borzenkov, 2016/02/24
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Leif Lindholm, 2016/02/24
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function,
Andrei Borzenkov <=
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Andrei Borzenkov, 2016/02/24
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Vladimir 'phcoder' Serbinenko, 2016/02/26
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Andrei Borzenkov, 2016/02/26
- Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Vladimir 'phcoder' Serbinenko, 2016/02/26
Re: [PATCH 1/2] disk: Add support for device-specific malloc function, Andrei Borzenkov, 2016/02/22
[PATCH 2/2] efidisk: respect block_io_protocol minimum buffer alignment, Leif Lindholm, 2016/02/19