Re: [PATCH v2 1/4] Transform xyarray to linked list

2013-02-27 Thread David Ahern
On 2/26/13 2:20 AM, chenggang wrote: From: chenggang The 2-dimensional array cannot expand and shrink easily while we want to response the thread's fork and exit events on-the-fly. perhaps a better explanation of why -- file descriptors for perf events are kept in an xyarray where the x dime

[PATCH v2 1/4] Transform xyarray to linked list

2013-02-26 Thread chenggang
From: chenggang The 2-dimensional array cannot expand and shrink easily while we want to response the thread's fork and exit events on-the-fly. We transform xyarray to a 2-demesional linked list. The row is still a array, but column is implemented as a list. The number of nodes in every row are s

[PATCH v2 1/4] Transform xyarray to linked list

2013-02-26 Thread chenggang
From: chenggang The 2-dimensional array cannot expand and shrink easily while we want to response the thread's fork and exit events on-the-fly. We transform xyarray to a 2-demesional linked list. The row is still a array, but column is implemented as a list. The number of nodes in every row are s