Commit 3a7f778
drivers/hv: add CPU offlining support
Currently, it is tedious to offline CPUs in a Hyper-V VM since CPUs may
have VMBus channels attached to them that a user would have to manually
rebind elsewhere. So, as made mention of in
commit d570aec ("Drivers: hv: vmbus: Synchronize init_vp_index()
vs. CPU hotplug"), rebind channels associated with CPUs that a user is
trying to offline to a new "randomly" selected CPU.
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Michael Kelley <mhklinux@outlook.com>
Cc: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/20250117203309.192072-3-hamzamahfooz@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250117203309.192072-3-hamzamahfooz@linux.microsoft.com>1 parent 5e4304f commit 3a7f778
1 file changed
Lines changed: 51 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
436 | 470 | | |
437 | 471 | | |
438 | 472 | | |
439 | 473 | | |
440 | 474 | | |
441 | 475 | | |
442 | | - | |
| 476 | + | |
443 | 477 | | |
444 | 478 | | |
445 | 479 | | |
| |||
456 | 490 | | |
457 | 491 | | |
458 | 492 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
| 493 | + | |
463 | 494 | | |
464 | 495 | | |
465 | 496 | | |
466 | 497 | | |
467 | | - | |
468 | | - | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
469 | 503 | | |
470 | 504 | | |
471 | 505 | | |
472 | | - | |
473 | | - | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
474 | 511 | | |
475 | 512 | | |
476 | | - | |
477 | | - | |
478 | 513 | | |
479 | 514 | | |
480 | 515 | | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | 516 | | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
491 | 521 | | |
492 | 522 | | |
493 | 523 | | |
| |||
497 | 527 | | |
498 | 528 | | |
499 | 529 | | |
500 | | - | |
| 530 | + | |
501 | 531 | | |
0 commit comments