From: David Miller <davem@davemloft.net>
To: ilpo.jarvinen@helsinki.fi
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 1/7] tcp: remove pointless .dsack/.num_sacks code
Date: Sun, 15 Mar 2009 20:10:20 -0700 (PDT) [thread overview]
Message-ID: <20090315.201020.152587350.davem@davemloft.net> (raw)
In-Reply-To: <1237075675426-git-send-email-ilpo.jarvinen@helsinki.fi>
From: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi>
Date: Sun, 15 Mar 2009 02:07:49 +0200
> In the pure assignment case, the earlier zeroing is
> still in effect.
>
> David S. Miller raised concerns if the ifs are there to avoid
> dirtying cachelines. I came to these conclusions:
>
> > We'll be dirty it anyway (now that I check), the first "real" statement
> > in tcp_rcv_established is:
> >
> > tp->rx_opt.saw_tstamp = 0;
> >
> > ...that'll land on the same dword. :-/
> >
> > I suppose the blocks are there just because they had more complexity
> > inside when they had to calculate the eff_sacks too (maybe it would
> > have been better to just remove them in that drop-patch so you would
> > have had less head-ache :-)).
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Applied.
next parent reply other threads:[~2009-03-16 3:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1237075675426-git-send-email-ilpo.jarvinen@helsinki.fi>
2009-03-16 3:10 ` David Miller [this message]
[not found] ` <12370756753599-git-send-email-ilpo.jarvinen@helsinki.fi>
2009-03-16 3:10 ` [PATCH 2/7] tcp: kill dead end_seq variable in clean_rtx_queue David Miller
[not found] ` <12370756754094-git-send-email-ilpo.jarvinen@helsinki.fi>
2009-03-16 3:10 ` [PATCH 3/7] tcp: consolidate paws check David Miller
[not found] ` <12370756752410-git-send-email-ilpo.jarvinen@helsinki.fi>
2009-03-16 3:10 ` [PATCH 4/7] tcp: don't check mtu probe completion in the loop David Miller
[not found] ` <12370756751028-git-send-email-ilpo.jarvinen@helsinki.fi>
[not found] ` <12370756752721-git-send-email-ilpo.jarvinen@helsinki.fi>
2009-03-15 8:36 ` [PATCH 6/7] tcp: cache result of earlier divides when mss-aligning things Evgeniy Polyakov
2009-03-15 8:45 ` Ilpo Järvinen
2009-03-15 9:08 ` Evgeniy Polyakov
2009-03-16 3:11 ` David Miller
[not found] ` <12370756754020-git-send-email-ilpo.jarvinen@helsinki.fi>
2009-03-16 3:11 ` [PATCH 7/7] tcp: make sure xmit goal size never becomes zero David Miller
2009-03-16 3:10 ` [PATCH 5/7] tcp: simplify tcp_current_mss David Miller
2009-03-15 0:23 [PATCH 1/7] tcp: remove pointless .dsack/.num_sacks code Ilpo Järvinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090315.201020.152587350.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ilpo.jarvinen@helsinki.fi \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).