Re: [PATCH -perfbook 2/4] memorder: Add index markers for 'address/control/data dependency', take 2

"Paul E. McKenney" <[email protected]>
Newsgroups org.kernel.vger.perfbook
Message-ID <e1f008ec-1358-4fd7-ab50-abc0fb72439e@paulmck-laptop>
On Tue, Sep 26, 2023 at 07:04:12PM +0900, Akira Yokosawa wrote:
> Hi,
> 
> On 2023/09/23 17:23, Paul E. McKenney wrote:
> > On Fri, Sep 22, 2023 at 10:55:44PM +0900, Akira Yokosawa wrote:
> [...]
> >>  
> >> -The low overheads of the address and data dependencies discussed in
> >> +The low overheads of the \IXalth{address}{address}{dependency}
> > 
> > This looks strange given the different parameters to the \IXalth above
> > and the \IXalth below, but it gets the right thing to the right place
> > in the index, so I queued and pushed all four.
> > 
> [...]
> >> +and \IXalth{data dependencies}{data}{dependency} discussed in
> 
> Let me explain what's happening here.
> 
> Original sentence looked like this:
> 
>     The low overheads of the address and data dependencies discussed in
> 
> Here, if "address dependencies" were there, I could have said:
> 
>     \IXalth{address dependencies}{address}{dependency}
> 
> Instead, I put an index marker of "Dependency, address" on the lonely
> "address", therefore it became:
> 
>     \IXalth{address}{address}{dependency}
> 
> \IXalth{}{}{} prints any string in #1 with an index marker of
> "#3, #2" put on it.
> 
> Macros of \IX*alt* are powerful and can do whatever you'd like.

Got it, thank you for the explanation!  And indeed they are powerful!

> > Thank you!!!  And yes, I am now generating a set of glossary entries.  ;-)
> 
> Thank you.  I like those cautionary remarks.

Glad you like them!

							Thanx, Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.