[PATCH] suggestion for faster pseudo-reloc.

2012-08-25 Thread Jin-woo Ye
This patch fixes the problem making pseudo-reloc too slow when there is many pseudo-reloc entries in rdata section by deciding when not to call Virtual{Query,Protect} to save overhead. I tested this patch and time taken for pseudo-reloc reduced 1800ms to 16ms for 3682 entries. Please review thi

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-02 Thread Corinna Vinschen
Hi Jin-woo, On Aug 26 10:59, Jin-woo Ye wrote: > This patch fixes the problem making pseudo-reloc too slow when there > is many pseudo-reloc entries in rdata section by deciding when not > to call Virtual{Query,Protect} to save overhead. > I tested this patch and time taken for pseudo-reloc reduce

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-02 Thread Jin-woo Ye
On 2012-09-02 PM 7:27, Corinna Vinschen wrote: Hi Jin-woo, On Aug 26 10:59, Jin-woo Ye wrote: This patch fixes the problem making pseudo-reloc too slow when there is many pseudo-reloc entries in rdata section by deciding when not to call Virtual{Query,Protect} to save overhead. I tested this pa

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-02 Thread Charles Wilson
On 9/2/2012 1:51 PM, Jin-woo Ye wrote: > Now it is clear that this patch would be needed other relevant projects > such as mingw, mingw-w64. thanks for your effort on simplified one. Yes, while it is not required that all of those systems stay exactly in sync, there has been some effort in ensurin

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-03 Thread JonY
On 9/3/2012 11:05, Charles Wilson wrote: > On 9/2/2012 1:51 PM, Jin-woo Ye wrote: >> Now it is clear that this patch would be needed other relevant projects >> such as mingw, mingw-w64. thanks for your effort on simplified one. > > Yes, while it is not required that all of those systems stay exact

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-03 Thread Corinna Vinschen
On Sep 3 17:34, JonY wrote: > On 9/3/2012 11:05, Charles Wilson wrote: > > On 9/2/2012 1:51 PM, Jin-woo Ye wrote: > >> Now it is clear that this patch would be needed other relevant projects > >> such as mingw, mingw-w64. thanks for your effort on simplified one. > > > > Yes, while it is not requ

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-03 Thread JonY
On 9/3/2012 18:35, Corinna Vinschen wrote: > On Sep 3 17:34, JonY wrote: >> On 9/3/2012 11:05, Charles Wilson wrote: >>> On 9/2/2012 1:51 PM, Jin-woo Ye wrote: Now it is clear that this patch would be needed other relevant projects such as mingw, mingw-w64. thanks for your effort on simp

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-03 Thread Corinna Vinschen
On Sep 3 19:02, JonY wrote: > On 9/3/2012 18:35, Corinna Vinschen wrote: > > On Sep 3 17:34, JonY wrote: > >> On 9/3/2012 11:05, Charles Wilson wrote: > >>> On 9/2/2012 1:51 PM, Jin-woo Ye wrote: > Now it is clear that this patch would be needed other relevant projects > such as mingw,

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-05 Thread JonY
On 9/3/2012 19:24, Corinna Vinschen wrote: > It differs a lot from the original source, so you might contemplate > to send a follow up mail to the mingw-w64 devel with the attached > patch. > It looks like mingw-w64 is already using it all along according to Kai. signature.asc Description:

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-05 Thread Christopher Faylor
On Wed, Sep 05, 2012 at 09:46:45PM +0800, JonY wrote: >On 9/3/2012 19:24, Corinna Vinschen wrote: >> It differs a lot from the original source, so you might contemplate >> to send a follow up mail to the mingw-w64 devel with the attached >> patch. > >It looks like mingw-w64 is already using it all

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-05 Thread JonY
On 9/5/2012 22:48, Christopher Faylor wrote: > On Wed, Sep 05, 2012 at 09:46:45PM +0800, JonY wrote: >> On 9/3/2012 19:24, Corinna Vinschen wrote: >>> It differs a lot from the original source, so you might contemplate >>> to send a follow up mail to the mingw-w64 devel with the attached >>> patch.

Re: [PATCH] suggestion for faster pseudo-reloc.

2012-09-05 Thread Christopher Faylor
On Wed, Sep 05, 2012 at 10:59:23PM +0800, JonY wrote: >On 9/5/2012 22:48, Christopher Faylor wrote: >> On Wed, Sep 05, 2012 at 09:46:45PM +0800, JonY wrote: >>> On 9/3/2012 19:24, Corinna Vinschen wrote: It differs a lot from the original source, so you might contemplate to send a follow