Attached Hurd patch (without guards) El dom., 27 oct. 2019 a las 21:03, Almudena Garcia (< liberamenso10...@gmail.com>) escribió:
> > Ok, that looks good :) > Don't we need to patch Hurd with the new field? > My previous Hurd patch is not good, I remember > > > El dom., 27 oct. 2019 a las 21:00, Samuel Thibault (< > samuel.thiba...@gnu.org>) escribió: > >> Almudena Garcia, le dim. 27 oct. 2019 20:53:30 +0100, a ecrit: >> > Improved tabs. >> >> Ok, that looks good :) >> >> Now you need to write a changelog. See git log for instances: some >> description at the top (can be just a one-liner), then the description >> of the _source code changes_. >> >> Now, I'm realizing that you have not assigned copyright for your >> work. For this commit it is not required because it is very small and >> straightforward, but before we can integrate any of your SMP work, we >> have to get it. I'll send you a separate mail for this. >> >> Samuel >> >>
--- hurd/procfs/process.c 2019-10-26 23:12:40.495359917 +0200 +++ hurd~/procfs/process.c 2019-10-27 21:07:51.088920405 +0100 @@ -221,14 +221,15 @@ struct procinfo *pi = proc_stat_proc_info (ps); task_basic_info_t tbi = proc_stat_task_basic_info (ps); thread_basic_info_t thbi = proc_stat_thread_basic_info (ps); + thread_sched_info_t thsi = proc_stat_thread_sched_info (ps); const char *fn = args_filename (proc_stat_args (ps)); @@ -286,7 +287,7 @@ (long unsigned) proc_stat_thread_rpc (ps), /* close enough */ 0L, 0L, 0, - 0, + (long unsigned) thbi->last_processor, 0, 0, 0LL); }