A potential bug to squeeze extra memory through command line arguments

haris iqbal haris.phnx at gmail.com
Tue Mar 1 04:38:16 UTC 2016


On Tue, Mar 1, 2016 at 5:09 AM, Dmitry V. Levin <ldv at altlinux.org> wrote:
>
> On Wed, Feb 24, 2016 at 06:02:01PM +0530, haris iqbal wrote:
> [...]
> > Ok. I have come up with a separate memory model for tcbtab. In this
> > model, we will use a linked list instead of a global array of pointers
> > tcbtab.
> >
> > The structure
> >
> > struct s_tcbtab
> > {
> >     struct tcb* data;
> >     struct s_tcbtab* next;
> > }
> >
> > And a global head of the linked list.
> >
> > struct s_tcbtab* head_tcbtab = NULL;
>
> I suppose this memory model is better for some use cases and worse for
> some other use cases.
> What kind of strace usage would win/lose from this change?

quick question. How many pids can we give with the -p option?

>
>
> --
> ldv
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Strace-devel mailing list
> Strace-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/strace-devel
>



-- 

With regards,

Md Haris Iqbal,
Placement Coordinator, MTech IT
NITK Surathkal,
Contact: +91 8861996962




More information about the Strace-devel mailing list