Re: [PATCH] - gnumach: Implement offset in device map

2021-08-28 Thread Samuel Thibault
Hello, Thanks for your patches, they were way better, I have applied them! Joan Lledó, le sam. 28 août 2021 12:02:50 +0200, a ecrit: > I tried to insert the same dev_pager_entry in both lists to avoid > duplication, but the links field can't be shared between two lists, Mmm, I think you can, by

Re: [PATCH] - gnumach: Implement offset in device map

2021-08-28 Thread Joan Lledó
Hi, > all elements that have the same hash key end up in the same list Ok, I missed that and the rest of the patch is wrong b/c of this. I did what you said and created a second hash table indexed by device + offset, leaving all code for dev_pager_hashtable untouched. I tried to insert the sam

Re: [PATCH] - gnumach: Implement offset in device map

2021-08-22 Thread Samuel Thibault
Hello, Joan Lledó, le dim. 22 août 2021 12:51:09 +0200, a ecrit: > I made the changed in the device mapper to implement the offset, Thanks! > limited the number of pagers per device to 1, so once the system got a > pager for "mem" at offset 0, I couldn't give it another offset without > that aff

[PATCH] - gnumach: Implement offset in device map

2021-08-22 Thread Joan Lledó
Hi, I made the changed in the device mapper to implement the offset, also updated my branches of hurd and libpciaccess accordingly. It wasn't as trivial as it seemed, there were some /* HACK */ lines which in fact limited the number of pagers per device to 1, so once the system got a pager f