Re: [PATCH wayland 1/2] Change WL_ZOMBIE_OBJECT from 0x2 to an actual pointer

2013-06-06 Thread Jason Ekstrand
On Jun 6, 2013 1:37 AM, "Pekka Paalanen" wrote: > > On Wed, 5 Jun 2013 16:39:50 -0500 > Jason Ekstrand wrote: > > > In order to use the second-lowest bit of each pointer in wl_map for the > > WL_MAP_ENTRY_LEGACY flag, every pointer has to be a multiple of 4. This > > was a good assumption, exce

Re: [PATCH wayland 1/2] Change WL_ZOMBIE_OBJECT from 0x2 to an actual pointer

2013-06-05 Thread Pekka Paalanen
On Wed, 5 Jun 2013 16:39:50 -0500 Jason Ekstrand wrote: > In order to use the second-lowest bit of each pointer in wl_map for the > WL_MAP_ENTRY_LEGACY flag, every pointer has to be a multiple of 4. This > was a good assumption, except with WL_ZOMBIE_OBJECT. This commit creates > an actual sta

[PATCH wayland 1/2] Change WL_ZOMBIE_OBJECT from 0x2 to an actual pointer

2013-06-05 Thread Jason Ekstrand
In order to use the second-lowest bit of each pointer in wl_map for the WL_MAP_ENTRY_LEGACY flag, every pointer has to be a multiple of 4. This was a good assumption, except with WL_ZOMBIE_OBJECT. This commit creates an actual static variable to which WL_ZOMBIE_OBJECT now points. Since things ar