Consider the following MWE:
\documentclass{scrbook}
\usepackage{showframe}
\begin{document}
\section{Foo bar}
\marginline{A note}
Foo bar baz.
\end{document}
which produces
how can I vertically align the margin note to have it at the same height of the section heading, without the blank space I get now?